summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/367612-1b.html
blob: 840b740900642cb1172c7423ae2c0ae1ef7ec544 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<html>
  <head>
    <style> * { color: red } </style>
    <style id="t"></style>
  </head>
  <body>
    <span class="test">This text should be green</span>
    <script>
      document.getElementById("t").
        appendChild(document.createTextNode("* { color: "));
      document.getElementById("t").
        appendChild(document.createTextNode("green }"));
    </script>
  </body>
</html>