mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Bug 1023344: Use MozReftestInvalidate to make 876074-1.html's behavior more reliable. r=mats
This commit is contained in:
parent
bf881ddde5
commit
93e016a256
@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script>
|
||||
@ -7,11 +7,14 @@
|
||||
function boom()
|
||||
{
|
||||
document.getElementById("c").style.content = "'x'";
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
window.addEventListener("MozReftestInvalidate", boom, false);
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body style="display: inline-flex;" onload="boom();"><div></div><div style="display: table-caption;"></div><canvas id="c"></canvas></body>
|
||||
<body style="display: inline-flex;"><div></div><div style="display: table-caption;"></div><canvas id="c"></canvas></body>
|
||||
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user