blob: 700d5ba1d7506b388b5bfabae084f630c953384f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<style>
.will-merge {
opacity: 0.5;
}
</style>
</head>
<body>
<span id="foo">foo</span>
<span class="will-merge">bar<br>baz</span>
<span>qux</span>
<script type="text/javascript">
function doTest() {
var e = document.getElementById("foo");
e.parentNode.removeChild(e);
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest);
setTimeout(doTest, 5000);
</script>
</body>
</html>
|