blob: 181a4f740478d8bbbe9c2fbcda7464d7f7e14cf4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!DOCTYPE html>
<html class="reftest-wait">
<head>
<style>
.outer { text-decoration: underline; }
.inner {
vertical-align: 1em;
text-shadow: 0 1em green;
}
.reftest-wait .inner {
text-shadow: 0 1em red;
}
</style>
</head>
<body>
<span class="outer"><span class="inner">x</span></span>
<script>
document.addEventListener("MozReftestInvalidate", () => {
document.documentElement.removeAttribute('class');
}, false);
</script>
</body>
</html>
|