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