Index: LayoutTests/fast/overflow/hidden-html-auto-body.html |
diff --git a/LayoutTests/fast/overflow/hidden-html-auto-body.html b/LayoutTests/fast/overflow/hidden-html-auto-body.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a2e4eedc1853195757752d7acbb5823e562aeae1 |
--- /dev/null |
+++ b/LayoutTests/fast/overflow/hidden-html-auto-body.html |
@@ -0,0 +1,11 @@ |
+<!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-y:auto; overflow-x:hidden; width:20em; height:20em; background:cyan;"> |
+ <p>This text should be inside a vertically scrollable cyan box.</p> |
+ <p>The viewport should not have scrollbars.</p> |
+ <div style="width:300vw; height:300vh;"></div> |
+ </body> |
+</html> |