summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/416107.xhtml
blob: 753e48aca9836cc0b9f39defcfe08fbcb276a7a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript">

function boom()
{
  var z = document.getElementById("z");
  var c =  document.getElementById("c");
  
  z.removeChild(z.firstChild);
  document.body.offsetHeight;
  c.style.counterReset = "c";
}

</script>

</head>

<body onload="boom();" style="font-family: monospace; width: 7ch;">

<span style="margin: 8px;"></span>

<span style="position: relative;" id="z">OOO<span style="display: table-caption;">OOOOOO</span><span id="c" style="position: absolute;"></span></span>

</body>
</html>