dom/xbl/crashtests/493123-1.xhtml

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:0a7b7ac5938c
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
2 <head>
3
4 <bindings xmlns="http://www.mozilla.org/xbl">
5 <binding id="a"><content></content></binding>
6 <binding id="b"><content><style xmlns="http://www.w3.org/1999/xhtml" style="display: none;">* { overflow: hidden; }</style><children xmlns="http://www.mozilla.org/xbl"/></content></binding>
7 </bindings>
8
9 <script type="text/javascript" style="display: none">
10
11 function one()
12 {
13 while (document.documentElement.firstChild) document.documentElement.removeChild(document.documentElement.firstChild)
14 document.documentElement.style.MozBinding = 'url("#a")';
15 setTimeout(two, 1);
16 }
17
18 function two()
19 {
20 document.documentElement.style.MozBinding = 'url("#b")';
21 setTimeout(three, 1);
22 }
23
24 function three()
25 {
26 document.documentElement.style.MozBinding = 'url("#a")';
27 document.documentElement.removeAttribute("class");
28 }
29
30 </script>
31 </head>
32
33 <body onload="one();"></body>
34 </html>

mercurial