<!DOCTYPE html> <html class="reftest-wait"> <head> <meta charset="UTF-8"> <script> function boom() { document.getElementById("c").style.content = "'x'"; document.documentElement.removeAttribute("class"); } window.addEventListener("MozReftestInvalidate", boom, false); </script> </head> <body style="display: inline-flex;"><div></div><div style="display: table-caption;"></div><canvas id="c"></canvas></body> </html>