layout/reftests/bugs/367612-1c.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> * { color: red } </style>
     5     <style id="t"></style>
     6   </head>
     7   <body>
     8     <span class="test">This text should be green</span>
     9     <script>
    10       document.getElementById("t").
    11         appendChild(document.createTextNode("* { color: "));
    12       // Flush reflow
    13       document.body.offsetWidth;
    14       document.getElementById("t").
    15         appendChild(document.createTextNode("green }"));
    16     </script>
    17   </body>
    18 </html>

mercurial