summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/534526-1b.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/534526-1b.html')
-rw-r--r--layout/reftests/bugs/534526-1b.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/bugs/534526-1b.html b/layout/reftests/bugs/534526-1b.html
new file mode 100644
index 0000000000..5d3cb99068
--- /dev/null
+++ b/layout/reftests/bugs/534526-1b.html
@@ -0,0 +1,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>