layout/reftests/bugs/501257-1.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/501257-1.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.5 +  <head>
     1.6 +    <style><![CDATA[
     1.7 +      .green { color: green; }
     1.8 +      .toremove { color: red !important; }
     1.9 +    ]]></style>
    1.10 +  </head>
    1.11 +  <body>
    1.12 +    <div class="foo toremove">
    1.13 +      This should be green
    1.14 +    </div>
    1.15 +    <script>
    1.16 +      var div = document.getElementsByTagName("div")[0];
    1.17 +      div.classList.toggle("toremove");
    1.18 +      div.classList.toggle("green");
    1.19 +    </script>
    1.20 +  </body>
    1.21 +</html>

mercurial