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

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

Issue 1305223004: Reland of place 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 }
11 body { 15 body {
12 width: 1000px; 16 width: 1000px;
13 height: 1000px; 17 height: 1000px;
14 margin: 0; 18 margin: 0;
15 } 19 }
16 .box { 20 .box {
17 position: absolute; 21 position: absolute;
18 left: 800px; 22 left: 800px;
19 top: 600px; 23 top: 600px;
20 width: 100px; 24 width: 100px;
21 height: 100px; 25 height: 100px;
22 background-color: #8f8; 26 background-color: #8f8;
23 } 27 }
24 </style> 28 </style>
25 <meta name="viewport" content="width=800, minimum-scale=0.8, initial-scale=1, ma ximum-scale=1.25"> 29 <meta name="viewport" content="width=800, minimum-scale=0.8, initial-scale=1, ma ximum-scale=1.25">
26 <div class="box"></div> 30 <div class="box"></div>
27 <script> 31 <script>
28 if (window.testRunner) { 32 if (window.testRunner) {
29 testRunner.dumpAsTextWithPixelResults(); 33 testRunner.dumpAsTextWithPixelResults();
30 testRunner.waitUntilDone(); 34 testRunner.waitUntilDone();
31 } 35 }
32 runAfterLayoutAndPaint(function() { 36 runAfterLayoutAndPaint(function() {
33 internals.setPageScaleFactor(0.8); 37 internals.setPageScaleFactor(0.8);
34 if (window.testRunner) 38 if (window.testRunner)
35 testRunner.notifyDone(); 39 testRunner.notifyDone();
36 }); 40 });
37 </script> 41 </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