layout/reftests/bugs/748692-1a.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 <head>
     3   <style>
     4     body { color: red; }
     5   </style>
     6   <script>
     7     document.styleSheets[0].insertRule("body { color: green; }", 1);
     8     document.querySelector("style").className = "foo";
     9   </script>
    10 </head>
    11 <body>
    12   This text should be green
    13 </body>

mercurial