layout/reftests/bugs/501257-1b.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/501257-1b.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html>
     1.6 +  <head>
     1.7 +    <style>
     1.8 +      body > div { color: green; }
     1.9 +      .toremove { color: red; }
    1.10 +    </style>
    1.11 +  </head>
    1.12 +  <body>
    1.13 +    <div class="toremove">
    1.14 +      This should be green
    1.15 +    </div>
    1.16 +    <script>
    1.17 +      document.body.firstElementChild.classList.remove("toremove");
    1.18 +    </script>
    1.19 +  </body>
    1.20 +</html>

mercurial