layout/base/crashtests/405184-1.xhtml

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:ec0ebccd81d4
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3
4 <bindings xmlns="http://www.mozilla.org/xbl">
5 <binding id="foo">
6 <content>
7 <div xmlns="http://www.w3.org/1999/xhtml" style="position: fixed;">
8 <children xmlns="http://www.mozilla.org/xbl"/>
9 </div>
10 </content>
11 </binding>
12 </bindings>
13
14 <script type="text/javascript">
15
16 function boom()
17 {
18 var div = document.getElementById("div");
19 var caption = document.getElementById("caption");
20
21 div.removeChild(caption);
22 div.style.position = "inherit";
23 }
24
25 </script></head>
26
27 <body onload="boom();">
28 <div id="div" style="-moz-binding: url(#foo);"><caption id="caption"></caption></div>
29 </body>
30
31 </html>

mercurial