summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/372550-1.html
blob: a1dd8ea5b8b9f9753c4c46958165bc30121e786f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
<head>
  <style>
    div#x::first-letter { color: blue; }
  </style>
</head>
<body>
<div id="x">x</div>
<script>
  document.body.offsetWidth;
  var div = document.getElementById("x");
  div.id = "y";
  div.removeChild(div.firstChild);
</script>
</body>
</html>