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

Side by Side Diff: LayoutTests/fast/scrolling/overflow-clip-with-page-scale.html

Issue 1318603005: Revert of Replace pinch scrollbars with regular scrollbars. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « LayoutTests/fast/repaint/absolute-position-changed.html ('k') | Source/core/frame/FrameView.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 This test verifies that content is visible when the viewport is larger than the initial containing block. 3 This test verifies that content is visible when the viewport is larger than the initial containing block.
4 --> 4 -->
5 <script> 5 <script>
6 internals.settings.setViewportEnabled(true); 6 internals.settings.setViewportEnabled(true);
7 internals.settings.setViewportMetaEnabled(true); 7 internals.settings.setViewportMetaEnabled(true);
8 </script> 8 </script>
9 <script src="../../resources/run-after-layout-and-paint.js"></script> 9 <script src="../../resources/run-after-layout-and-paint.js"></script>
10 <style> 10 <style>
11 ::-webkit-scrollbar {
12 width: 0px;
13 height: 0px;
14 }
15 body { 11 body {
16 width: 1000px; 12 width: 1000px;
17 height: 1000px; 13 height: 1000px;
18 margin: 0; 14 margin: 0;
19 } 15 }
20 .box { 16 .box {
21 position: absolute; 17 position: absolute;
22 left: 800px; 18 left: 800px;
23 top: 600px; 19 top: 600px;
24 width: 100px; 20 width: 100px;
25 height: 100px; 21 height: 100px;
26 background-color: #8f8; 22 background-color: #8f8;
27 } 23 }
28 </style> 24 </style>
29 <meta name="viewport" content="width=800, minimum-scale=0.8, initial-scale=1, ma ximum-scale=1.25"> 25 <meta name="viewport" content="width=800, minimum-scale=0.8, initial-scale=1, ma ximum-scale=1.25">
30 <div class="box"></div> 26 <div class="box"></div>
31 <script> 27 <script>
32 if (window.testRunner) { 28 if (window.testRunner) {
33 testRunner.dumpAsTextWithPixelResults(); 29 testRunner.dumpAsTextWithPixelResults();
34 testRunner.waitUntilDone(); 30 testRunner.waitUntilDone();
35 } 31 }
36 runAfterLayoutAndPaint(function() { 32 runAfterLayoutAndPaint(function() {
37 internals.setPageScaleFactor(0.8); 33 internals.setPageScaleFactor(0.8);
38 if (window.testRunner) 34 if (window.testRunner)
39 testRunner.notifyDone(); 35 testRunner.notifyDone();
40 }); 36 });
41 </script> 37 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/repaint/absolute-position-changed.html ('k') | Source/core/frame/FrameView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698