summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/497519-3.xhtml
blob: 035563f45a76418da905defb8218f0b5dd0ce0a3 (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" style="-moz-binding: url(#foo)">
<head>

<xbl:bindings xmlns:xbl="http://www.mozilla.org/xbl">
<xbl:binding id="foo"><xbl:content><fieldset><xbl:children/></fieldset></xbl:content></xbl:binding>
</xbl:bindings>

<script type="text/javascript">

function boom()
{
  var dE = document.documentElement;
  var leg = document.createElementNS("http://www.w3.org/1999/xhtml", "legend");
  leg.appendChild(document.createTextNode("legend"));
  dE.appendChild(leg);
  document.documentElement.offsetHeight;
  dE.removeChild(leg);
}

</script>

</head>

<body onload="boom();"></body>

</html>