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

Unified Diff: third_party/WebKit/Source/web/tests/data/root-scroller-div.html

Issue 2248433002: Viewport resize anchoring should use the current layout viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rootScrollerCompositorWork
Patch Set: Forgot to add test file Created 4 years, 4 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
« no previous file with comments | « third_party/WebKit/Source/web/tests/VisualViewportTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/data/root-scroller-div.html
diff --git a/third_party/WebKit/Source/web/tests/data/root-scroller-div.html b/third_party/WebKit/Source/web/tests/data/root-scroller-div.html
new file mode 100644
index 0000000000000000000000000000000000000000..6154b8093745d3ef0e4dec6fa55b6b315937d5d0
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/root-scroller-div.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<meta name="viewport" content="width=device-width, minimum-scale=1">
+<style>
+ body {
+ width: 1600px;
+ height: 1200px;
+ margin: 0px;
+ }
+ #rootScroller {
+ left: 0;
+ top: 0;
+ width: 100%;
+ height: 100%;
+ background-color: gray;
+ position: absolute;
+ overflow: auto;
+ }
+ #content {
+ height: 1000px;
+ width: 100px;
+ background-color: red;
+ }
+</style>
+<div id="rootScroller">
+ <div id="content"></div>
+</div>
« no previous file with comments | « third_party/WebKit/Source/web/tests/VisualViewportTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698