summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/631352-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/631352-1.html')
-rw-r--r--layout/reftests/bugs/631352-1.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/reftests/bugs/631352-1.html b/layout/reftests/bugs/631352-1.html
new file mode 100644
index 000000000..197e0aadc
--- /dev/null
+++ b/layout/reftests/bugs/631352-1.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <style>
+ div:not(:lang(foo)) { display: none; }
+ </style>
+ </head>
+ <body onload="document.body.offsetWidth; document.body.lang = 'foo'">
+ <div>This text should be visible</div>
+ </body>
+</html>