OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <link rel="stylesheet" href="resources/build-paint-order-lists.css"> | 5 <link rel="stylesheet" href="resources/build-paint-order-lists.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 src="resources/build-paint-order-lists.js"></script> | 7 <script src="resources/build-paint-order-lists.js"></script> |
8 <script> | 8 <script> |
9 // Tests set 0 of paint order permutations, ensuring that in each layout in | 9 // Tests set 0 of paint order permutations, ensuring that in each layout in |
10 // the permutation set, the paint orders as returned by | 10 // the permutation set, the paint orders as returned by |
11 // paintOrderListBeforePromote() and paintOrderListAfterPromote() match the | 11 // paintOrderListBeforePromote() and paintOrderListAfterPromote() match the |
12 // actual stacking orders before and after being promoted to stacking | 12 // actual stacking orders before and after being promoted to stacking |
13 // containers. | 13 // containers. |
14 // | 14 // |
15 // Note that permutation set 0 specifically tests the permutations for which | 15 // Note that permutation set 0 specifically tests the permutations for which |
16 // the 'sibling' is placed at the index 0 of the paint order. | 16 // the 'sibling' is placed at the index 0 of the paint order. |
17 if (window.internals) | 17 if (window.internals) { |
18 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnable
d(true); | 18 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnable
d(true); |
| 19 window.internals.settings.setCompositorDrivenAcceleratedScrollingEnabled(f
alse); |
| 20 } |
19 | 21 |
20 function doTest() | 22 function doTest() |
21 { | 23 { |
22 buildDom(); | 24 buildDom(); |
23 runPaintOrderPermutationSet(0); | 25 runPaintOrderPermutationSet(0); |
24 } | 26 } |
25 | 27 |
26 window.addEventListener('load', doTest, false); | 28 window.addEventListener('load', doTest, false); |
27 </script> | 29 </script> |
28 </head> | 30 </head> |
29 | 31 |
30 <body> | 32 <body> |
31 </body> | 33 </body> |
32 </html> | 34 </html> |
OLD | NEW |