layout/reftests/bugs/565819-2.html

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>
     3   <head>
     4     <style>
     5       div { color: red; }
     6       div:last-child { color: green; }
     7     </style>
     8     <script>
     9       window.onload = function() {
    10         var r = document.getElementById("r");
    11         r.parentNode.removeChild(r);
    12       }
    13     </script>
    14   </head>
    15   <body>
    16     <!-- Need extra wrapper div, because whitespace inside <body> is all weird -->
    17     <div><div>This should be green</div><div id="r"></div></div></body>
    18 </html>

mercurial