layout/reftests/bugs/501257-1.xhtml

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 <html xmlns="http://www.w3.org/1999/xhtml">
     2   <head>
     3     <style><![CDATA[
     4       .green { color: green; }
     5       .toremove { color: red !important; }
     6     ]]></style>
     7   </head>
     8   <body>
     9     <div class="foo toremove">
    10       This should be green
    11     </div>
    12     <script>
    13       var div = document.getElementsByTagName("div")[0];
    14       div.classList.toggle("toremove");
    15       div.classList.toggle("green");
    16     </script>
    17   </body>
    18 </html>

mercurial