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