summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/534526-1a.html
blob: 705c25e62e1da0ec9d6a045aacee3029fad8aed8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<html>
  <head>
    <style>
      span { color: green; }
      [style*=red] + * { color: red; }
    </style>
  </head>
  <body onload="document.getElementById('x').style.color = 'blue'">
    <span id="x" style="color: red"></span><span>This should be green</span>
  </body>
</html>