layout/reftests/bugs/501257-1.xhtml

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 <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