Index: LayoutTests/fast/overflow/hidden-html-hidden-body.html |
diff --git a/LayoutTests/fast/overflow/hidden-html-hidden-body.html b/LayoutTests/fast/overflow/hidden-html-hidden-body.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4fdeeacc38efdefcd6892d09d19a171ad09637a0 |
--- /dev/null |
+++ b/LayoutTests/fast/overflow/hidden-html-hidden-body.html |
@@ -0,0 +1,14 @@ |
+<!DOCTYPE html> |
+<html style="overflow:hidden; background:white; color:black;"> |
+ <head> |
+ <title>Hidden overflow on HTML, hidden overflow on BODY</title> |
+ </head> |
+ <body style="overflow:hidden; width:20em; height:20em; background:cyan;"> |
+ <p>This text should be inside a cyan box. There should be no red.</p> |
+ <p>The viewport should not have scrollbars.</p> |
+ <div style="width:30em;"> |
+ <div style="float:right; width:10em; height:20em; background:red;">FAIL</div> |
+ </div> |
+ <div style="width:300vw; height:300vh;"></div> |
+ </body> |
+</html> |