summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/348049-1.xhtml
blob: d8f5790d2eaa9401d2d5fe5facc2008c8b6a7f17 (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
29
30
31
32
33
34
35
36
37
38
39
40
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>

<bindings xmlns="http://www.mozilla.org/xbl">

<binding id="td">
  <content>
    <html:td><children/></html:td>
  </content>
</binding>

<binding id="foo">
  <content>
    <html:span/>
  </content>
</binding>

</bindings>


<script>
function f1()
{
  document.getElementById("inner").style.MozBinding = "url(#foo)";
  document.documentElement.removeAttribute("class");
}
</script>

</head>


<body onload="setTimeout(f1, 30);">


<div id="outer" style="-moz-binding: url(#td)"><div id="inner">M</div></div>


</body>

</html>