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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/elements/highlight/highlight-node-scaled-and-scrolled.html

Issue 1415513002: Remove plumbing for inert-visual-viewport flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
1 <html> 1 <html>
2 <head> 2 <head>
3 3
4 <style> 4 <style>
5 5
6 body { 6 body {
7 margin: 0; 7 margin: 0;
8 } 8 }
9 9
10 iframe { 10 iframe {
11 position: absolute; 11 position: absolute;
12 left: 83px; 12 left: 83px;
13 top: 53px; 13 top: 53px;
14 width: 200px; 14 width: 200px;
15 height: 200px; 15 height: 200px;
16 } 16 }
17 17
18 </style> 18 </style>
19 19
20 <script src="../../../http/tests/inspector/inspector-test.js"></script> 20 <script src="../../../http/tests/inspector/inspector-test.js"></script>
21 <script src="../../../http/tests/inspector/elements-test.js"></script> 21 <script src="../../../http/tests/inspector/elements-test.js"></script>
22 <script src="../../../http/tests/inspector/console-test.js"></script> 22 <script src="../../../http/tests/inspector/console-test.js"></script>
23 <script> 23 <script>
24 24
25 function onload() 25 function onload()
26 { 26 {
27 if (window.internals) 27 if (window.internals)
28 window.internals.setPageScaleFactor(2); 28 window.internals.setPageScaleFactor(2);
29 window.scrollTo(1000, 1000); 29 internals.setVisualViewportOffset(1000, 1000);
bokan 2015/10/19 15:01:14 This doesn't bubble like window.scrollTo does but
ymalik 2015/10/20 21:27:14 Done.
30 runTest(); 30 runTest();
31 } 31 }
32 32
33 function test() 33 function test()
34 { 34 {
35 InspectorTest.dumpInspectorHighlightJSON("div", InspectorTest.completeTest.b ind(InspectorTest)); 35 InspectorTest.dumpInspectorHighlightJSON("div", InspectorTest.completeTest.b ind(InspectorTest));
36 } 36 }
37 37
38 </script> 38 </script>
39 </head> 39 </head>
40 40
41 <body onload="onload()"> 41 <body onload="onload()">
42 <iframe id="scale-iframe" src="resources/highlight-node-scaled-iframe.html"></if rame> 42 <iframe id="scale-iframe" src="resources/highlight-node-scaled-iframe.html"></if rame>
43 </body> 43 </body>
44 </html> 44 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698