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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/web/tests/RootScrollerTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta name="viewport" content="width=device-width">
5 <style>
6 ::-webkit-scrollbar {
7 width: 0px;
8 height: 0px;
9 }
10
11 body, html {
12 width: 100%;
13 height: 100%;
14 }
15
16 body {
17 margin: 0px;
18 }
19
20 #spacer {
21 position: absolute;
22 left: 3000px;
23 top: 3000px;
24 width: 1px;
25 height: 1px;
26 }
27
28 #target {
29 width: 50%;
30 height: 50%;
31 background-color: red;
32 position: absolute;
33 left: 200%;
34 top: 200%;
35 }
36
37 #container {
38 position: absolute;
39 left: 0px;
40 top: 0px;
41 width: 100%;
42 height: 100%;
43 overflow: auto;
44 }
45 </style>
46 </head>
47
48 <body>
49 <div id="container">
50 <div id="target"></div>
51 <div id="spacer"></div>
52 </div>
53 </body>
54 </html>
OLDNEW
« 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