summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/667025.html
blob: 036aeda3192178597d50d739b4b8712b86a41f54 (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.firstChild.remove();

  document.documentElement.offsetHeight;
}

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