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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/emulation/forced-viewport-reset-expected.html

Issue 2237433004: Adds DevTools commands for forced viewport override. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adress Dmitry's comments + sync. Created 4 years, 3 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 unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3
4 <style>
5 html {
6 overflow: hidden;
7 }
8
9 body {
10 margin: 0;
11 min-height: 1000px;
12 overflow: hidden;
13 }
14
15 #near {
16 position: absolute;
17 left: 200px;
18 top: 200px;
19 width: 100px;
20 height: 100px;
21 background-color: red;
22 }
23
24 #far {
25 position: absolute;
26 left: 200px;
27 top: 9000px;
28 width: 100px;
29 height: 100px;
30 background-color: green;
31 }
32 </style>
33
34 </head>
35 <body>
36 <p>
37 Tests that resetting an earlier forced viewport restores the viewport back to or iginal area.
38 </p>
39 <div id="near"></div>
40 <div id="far"></div>
41 </body>
42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698