5 <link rel="stylesheet" href="resources/build-paint-order-lists.css">
6 <script src="resources/automatically-opt-into-composited-scrolling.js"></script>
7 <script src="resources/build-paint-order-lists.js"></script>
9 // Tests set 3 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
15 // Note that permutation set 3 specifically tests the permutations for which
16 // the 'sibling' is placed at the index 3 of the paint order.
17 if (window.internals) {
18 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true);
19 window.internals.settings.setCompositorDrivenAcceleratedScrollingEnabled(false);
25 runPaintOrderPermutationSet(3);
28 window.addEventListener('load', doTest, false);