blob: 19520e4f907491f928156de2fcc2cb24007fd730 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html>
<html class="reftest-wait">
<link id="e" href="data:text/css,.ref { background-color: green; }" rel="stylesheet">
<script>
function boom()
{
document.documentElement.appendChild(document.getElementById("e"));
document.styleSheets[0].cssRules[0];
// Remove reftest-wait async so we give the SheetComplete a chance to run
setTimeout(function() { document.documentElement.className = ""; }, 0);
}
</script>
<body onload="boom();"></body>
</html>
|