layout/reftests/bugs/482592-1b.xhtml

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

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="hasBefore"><children/></html:span>
     9         </content>
    10       </binding>
    11     </bindings>
    12     <style>
    13       #hasBefore::before { content: "x"; }
    14     </style>
    15     <script>
    16       function doTest() {
    17         var l = document.getElementById("l");
    18         l.parentNode.insertBefore(document.createTextNode("y"), l);
    19         document.documentElement.removeAttribute("class");
    20       }
    21     </script>
    22   </head>
    23   <body onload="doTest()">
    24     <div style="-moz-binding: url(#a)"><span id="l"></span></div>
    25   </body>
    26 </html>

mercurial