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

Side by Side Diff: LayoutTests/compositing/overflow/automatically-opt-into-composited-scrolling-part-4.html

Issue 20103002: Make composited scrolling codepaths co-operate. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline TestExpectations Created 7 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 2
3 <html> 3 <html>
4 <head> 4 <head>
5 <link rel="stylesheet" href="resources/automatically-opt-into-composited-scrol ling.css"> 5 <link rel="stylesheet" href="resources/automatically-opt-into-composited-scrol ling.css">
6 <script src="resources/automatically-opt-into-composited-scrolling.js"></scrip t> 6 <script src="resources/automatically-opt-into-composited-scrolling.js"></scrip t>
7 <script> 7 <script>
8 // Tests set 3 of opt-in permutations, ensuring that each layout in the 8 // Tests set 3 of opt-in permutations, ensuring that each layout in the
9 // permutation set causes 'container' to be promoted to a stacking container 9 // permutation set causes 'container' to be promoted to a stacking container
10 // if possible, and making sure that the stacking and paint orders are never 10 // if possible, and making sure that the stacking and paint orders are never
11 // broken due to this promote. 11 // broken due to this promote.
12 // 12 //
13 // Note that permutation set 3 specifically tests the permutations for which 13 // Note that permutation set 3 specifically tests the permutations for which
14 // the 'sibling' is placed at the index 3 of the paint order. 14 // the 'sibling' is placed at the index 3 of the paint order.
15 if (window.internals) 15 if (window.internals) {
16 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnable d(true); 16 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnable d(true);
17 window.internals.settings.setCompositorDrivenAcceleratedScrollingEnabled(f alse);
18 }
17 19
18 function doTest() 20 function doTest()
19 { 21 {
20 buildDom(); 22 buildDom();
21 runOptInPermutationSet(3); 23 runOptInPermutationSet(3);
22 } 24 }
23 25
24 window.addEventListener('load', doTest, false); 26 window.addEventListener('load', doTest, false);
25 </script> 27 </script>
26 </head> 28 </head>
27 29
28 <body> 30 <body>
29 </body> 31 </body>
30 </html> 32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698