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