summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/501257-1a.html
blob: 013b80415347be3cf4938785df09b12492705fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html>
  <head>
    <style>
      .green { color: green; }
    </style>
  </head>
  <body>
    <div>
      This should be green
    </div>
    <script>
      document.body.firstElementChild.classList.add("green");
    </script>
  </body>
</html>