layout/base/crashtests/405186-1.xhtml

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:1fb9039bef30
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 table = document.getElementById("table");
19 var tr = document.getElementById("tr");
20 var td = document.getElementById("td");
21
22 table.style.border = "2px dotted magenta";
23 tr.removeChild(td);
24 }
25
26 </script>
27 </head>
28
29 <body onload="boom();">
30
31 <table id="table" style="-moz-binding: url(#foo);">
32 <tr id="tr">
33 <td id="td"></td>
34 </tr>
35 </table>
36
37 </body>
38
39 </html>

mercurial