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

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

Issue 2506473004: Fixed rotation anchoring while using a document.rootScroller. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/RootScrollerTest.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-rotation.html
diff --git a/third_party/WebKit/Source/web/tests/data/root-scroller-rotation.html b/third_party/WebKit/Source/web/tests/data/root-scroller-rotation.html
new file mode 100644
index 0000000000000000000000000000000000000000..146aae10f6865924e5a422fce0f5f706c60b6af3
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/root-scroller-rotation.html
@@ -0,0 +1,54 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta name="viewport" content="width=device-width">
+ <style>
+ ::-webkit-scrollbar {
+ width: 0px;
+ height: 0px;
+ }
+
+ body, html {
+ width: 100%;
+ height: 100%;
+ }
+
+ body {
+ margin: 0px;
+ }
+
+ #spacer {
+ position: absolute;
+ left: 3000px;
+ top: 3000px;
+ width: 1px;
+ height: 1px;
+ }
+
+ #target {
+ width: 50%;
+ height: 50%;
+ background-color: red;
+ position: absolute;
+ left: 200%;
+ top: 200%;
+ }
+
+ #container {
+ position: absolute;
+ left: 0px;
+ top: 0px;
+ width: 100%;
+ height: 100%;
+ overflow: auto;
+ }
+ </style>
+ </head>
+
+ <body>
+ <div id="container">
+ <div id="target"></div>
+ <div id="spacer"></div>
+ </div>
+ </body>
+</html>
« no previous file with comments | « third_party/WebKit/Source/web/tests/RootScrollerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698