Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: LayoutTests/fast/overflow/scroll-html-hidden-body.html

Issue 157553002: Remove the Pagination struct, clean up viewport scroll policy propagation. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase master Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/overflow/scroll-html-hidden-body.html
diff --git a/LayoutTests/fast/overflow/scroll-html-hidden-body.html b/LayoutTests/fast/overflow/scroll-html-hidden-body.html
new file mode 100644
index 0000000000000000000000000000000000000000..d29c7ce050e9b6cf41971c5ff3694b4ea73df708
--- /dev/null
+++ b/LayoutTests/fast/overflow/scroll-html-hidden-body.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html style="overflow:scroll; background:white; color:black;">
+ <head>
+ <title>Scroll 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 have scrollbars (that are not scrollable, due to lack of content).</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>

Powered by Google App Engine
This is Rietveld 408576698