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

Side by Side Diff: LayoutTests/compositing/overflow/accelerated-scrolling-with-clip-reference-expected.html

Issue 486493002: Merge AcceleratedCompositingForOverflowScroll into PreferCompositingToLCDText. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm-overflowscroll: imagefailure Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 .clip-path { 5 .clip-path {
6 -webkit-clip-path: polygon(61px 237px,9px 313px,115px 386px,621px 356px,280p x 339px,505px 187px,414px 61px,164px 143px,84px 42px,2px 189px); 6 -webkit-clip-path: polygon(61px 237px,9px 313px,115px 386px,621px 356px,280p x 339px,505px 187px,414px 61px,164px 143px,84px 42px,2px 189px);
7 overflow: scroll; 7 overflow: scroll;
8 } 8 }
9 9
10 .outer { 10 .outer {
(...skipping 15 matching lines...) Expand all
26 } 26 }
27 27
28 .bottom { 28 .bottom {
29 position: relative; 29 position: relative;
30 top: 250px; 30 top: 250px;
31 } 31 }
32 </style> 32 </style>
33 33
34 <script> 34 <script>
35 if (window.internals) 35 if (window.internals)
36 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled( true); 36 window.internals.settings.setPreferCompositingToLCDTextEnabled(true);
37 </script> 37 </script>
38 </head> 38 </head>
39 39
40 <body> 40 <body>
41 This tests that reference clip-path is applied with composited scrolling. If the content and 41 This tests that reference clip-path is applied with composited scrolling. If the content and
42 scrollbars are properly clipped, this test passes. 42 scrollbars are properly clipped, this test passes.
43 43
44 <div class="clip-path outer" id="outer"> 44 <div class="clip-path outer" id="outer">
45 <div class="spacer"></div> 45 <div class="spacer"></div>
46 <div class="inner"> 46 <div class="inner">
47 <div class="spacer bottom"></div> 47 <div class="spacer bottom"></div>
48 </div> 48 </div>
49 <div class="spacer"></div> 49 <div class="spacer"></div>
50 </div> 50 </div>
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698