summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/670467-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/670467-1.html')
-rw-r--r--layout/reftests/bugs/670467-1.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layout/reftests/bugs/670467-1.html b/layout/reftests/bugs/670467-1.html
new file mode 100644
index 0000000000..ef6da737ec
--- /dev/null
+++ b/layout/reftests/bugs/670467-1.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<body style="color: red">
+ <div id="x" style="display: inline; visibility: hidden">
+ Line 1
+ <div>Line 2</div>
+ Line 3
+ <div>Line 4</div>
+ Line 5
+ </div><script type="text/javascript">
+ document.body.offsetWidth;
+ document.getElementById("x").style.visibility = "visible";
+ document.body.style.color = "green";
+ </script>
+</body>