blob: e545adbe75ee9a0b3df494003bd0be526bee18e1 (
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');
});
</script>
</body>
</html>
|