blob: 3fe93aa10e2996bbbb6957c72d375a7da55bb067 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<!DOCTYPE html>
<html class=reftest-wait>
<style>
.x .y { background-color: red; }
</style>
<p class=x><span><i class=y>hello</i></span></p>
<script>
addEventListener("MozReftestInvalidate", function() {
document.querySelector("p").classList.toggle("x");
document.querySelector("i").classList.toggle("y");
document.documentElement.className = "";
}, false);
</script>
|