Index: LayoutTests/fast/dom/Element/resources/display-none-body-strict.html |
diff --git a/LayoutTests/fast/dom/Element/resources/display-none-body-strict.html b/LayoutTests/fast/dom/Element/resources/display-none-body-strict.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7ee0dc3dc905eb761ebb6d75513b9e5e0dc69222 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/Element/resources/display-none-body-strict.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<html style=overflow:scroll> |
+<head> |
+ <style> |
+ head { display:block; width:4000px; height:5000px; border:dotted } |
+ </style> |
+ <script> |
+ function scroll() { |
+ document.body.scrollTop = 500; |
+ document.body.scrollLeft = 3000; |
+ parent.verifyTest() |
+ } |
+ </script> |
+</head> |
+<body style=display:none onload="scroll()"> |
+</html> |