Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
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>
14 <script type="text/javascript">
16 function boom()
17 {
18 var table = document.getElementById("table");
19 var tr = document.getElementById("tr");
20 var td = document.getElementById("td");
22 table.style.border = "2px dotted magenta";
23 tr.removeChild(td);
24 }
26 </script>
27 </head>
29 <body onload="boom();">
31 <table id="table" style="-moz-binding: url(#foo);">
32 <tr id="tr">
33 <td id="td"></td>
34 </tr>
35 </table>
37 </body>
39 </html>