Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
3 <head>
4 <bindings xmlns="http://www.mozilla.org/xbl">
5 <binding id="a">
6 <content>
7 <html:span xmlns:html="http://www.w3.org/1999/xhtml"
8 id="hasAfter"><children/></html:span>
9 </content>
10 </binding>
11 </bindings>
12 <style>
13 #hasAfter::after { content: "y"; }
14 #l { display: none; }
15 </style>
16 <script>
17 function doTest() {
18 var l = document.getElementById("l");
19 l.parentNode.insertBefore(document.createTextNode("x"), l);
20 document.documentElement.removeAttribute("class");
21 }
22 </script>
23 </head>
24 <body onload="doTest()">
25 <div style="-moz-binding: url(#a)"><span id="l"></span></div>
26 </body>
27 </html>