summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/343206-1.xhtml
blob: 5be6fc2a6a35d68a6e5f5cfff3daa6c7ad66554e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">

<style id="sty">
html::before { 
  content: "before text"; 
  float: right; 
}
</style>

<script>
function boom()
{ 
  var sty = document.getElementById("sty"); 
  sty.appendChild(document.createTextNode(" "));
  document.documentElement.removeAttribute("class");
}
  
setTimeout(boom, 30);
</script>

</html>