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

Side by Side Diff: LayoutTests/compositing/overflow/clipping-ancestor-with-accelerated-scrolling-ancestor.html

Issue 12254005: Merge 141769 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 10 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 | « no previous file | LayoutTests/compositing/overflow/iframe-inside-overflow-clipping.html » ('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 <html> 2 <html>
3 <head> 3 <head>
4 <meta name=viewport content="width=device-width"> 4 <meta name=viewport content="width=device-width">
5 <style> 5 <style>
6 .scrollable { 6 .scrollable {
7 overflow: scroll; 7 overflow: scroll;
8 -webkit-overflow-scrolling: touch; 8 -webkit-overflow-scrolling: touch;
9 width: 300px; 9 width: 300px;
10 height: 300px; 10 height: 300px;
11 } 11 }
12 .container { 12 .container {
13 overflow: hidden; 13 overflow: hidden;
14 } 14 }
15 .indicator { 15 .indicator {
16 position: relative; 16 position: relative;
17 top: 100px; 17 top: 100px;
18 background-color: red; 18 background-color: red;
19 } 19 }
20 .box { 20 .box {
21 width: 100px; 21 width: 100px;
22 height: 100px; 22 height: 100px;
23 } 23 }
24 </style> 24 </style>
25 <script>
26 if (window.internals)
27 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnable d(true);
28 </script>
25 </head> 29 </head>
26 30
27 <body> 31 <body>
28 <!-- Expect no red (a blank page) --> 32 <!-- Expect no red (a blank page) -->
29 <div class="scrollable"> 33 <div class="scrollable">
30 <div class="container box"> 34 <div class="container box">
31 <div class="indicator box"></div> 35 <div class="indicator box"></div>
32 </div> 36 </div>
33 </div> 37 </div>
34 </body> 38 </body>
35 39
36 </html> 40 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/compositing/overflow/iframe-inside-overflow-clipping.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698