summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/571347-3.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/571347-3.html')
-rw-r--r--layout/reftests/bugs/571347-3.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/reftests/bugs/571347-3.html b/layout/reftests/bugs/571347-3.html
new file mode 100644
index 0000000000..217b76a1dd
--- /dev/null
+++ b/layout/reftests/bugs/571347-3.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ div:not(.foo) { display: none; }
+ </style>
+ </head>
+ <body onload="document.getElementById('x').className = 'foo'">
+ <div id="x">This text should appear</div>
+ </body>
+</html>