Thu, 15 Jan 2015 21:13:52 +0100
Remove forgotten relic of ABI crash risk averse overloaded method change.
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 div = document.getElementById("div");
19 var caption = document.getElementById("caption");
21 div.removeChild(caption);
22 div.style.position = "inherit";
23 }
25 </script></head>
27 <body onload="boom();">
28 <div id="div" style="-moz-binding: url(#foo);"><caption id="caption"></caption></div>
29 </body>
31 </html>