summaryrefslogtreecommitdiff
path: root/layout/base/crashtests/497519-1.xhtml
blob: ee4130053dd4de3428086f2ba7e6c0de044ed188 (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
27
28
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<xbl:bindings xmlns:xbl="http://www.mozilla.org/xbl">
<xbl:binding id="foo"><xbl:content><div style="position:relative;"><xbl:children/></div></xbl:content></xbl:binding>
</xbl:bindings>

<script>
<![CDATA[
function test() {
  document.getElementById("span").innerHTML = "<table><tr><td></td></tr></table>";
}
]]>
</script>

</head>

<body onload="test();">

<div style="-moz-binding: url(#foo)">

  <div style="display:none">text</div>
  <span id="span">text</span>

</div>

</body>
</html>