summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/667025.html
blob: 29ef3d32b5e0cf8ca96ef2db19da8a10c68e31ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<html>
<head>
<script>

function boom()
{
  document.documentElement.offsetHeight;

  document.documentElement.style.direction = "rtl";

  document.documentElement.offsetHeight;
  var s = document.getElementById("s");

  s.removeChild(s.firstChild);

  document.documentElement.offsetHeight;
}

</script>
</head>
<body onload="boom();" style="width: 1px;"><span id="s"> x y</span></body>
</html>