layout/reftests/bugs/495274-1.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>body { color: green; }</style>
     5     <link rel="stylesheet" href='data:text/css,body > span { color: red }' type="text/css"/>
     6     <link rel="stylesheet" href='data:text/css,body > span { color: red }' type="text/css"/>
     7     <script>
     8       // Force cloning of the second linked sheet
     9       document.styleSheets[2].cssRules[0];
    10     </script>
    11   </head>
    12   <body>
    13     <div><span>This text should be green</span></div>
    14   </body>
    15 </html>

mercurial