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

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     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>

mercurial