layout/reftests/bugs/493968-1.html

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>
     3   <head>
     4     <style>body { color: red; }</style>
     5     <link rel="stylesheet" href="data:text/css,@import 'data:text/css,body { color: green }'; @import 'data:text/css,foopy {}';" id="r">
     6     <link rel="stylesheet" href="data:text/css,@import 'data:text/css,body { color: green }'; @import 'data:text/css,foopy {}';">
     7     <script>
     8       // Force a unique inner for the second linked sheet
     9       document.styleSheets[2].cssRules[0];
    11       // Ditch the first sheet
    12       var r = document.getElementById("r");
    13       r.parentNode.removeChild(r);
    14     </script>
    15   </head>
    16   <body>
    17     This should be green
    18   </body>
    19 </html>

mercurial