5 <link rel="stylesheet" href="resources/automatically-opt-into-composited-scrolling.css">
6 <script src="resources/automatically-opt-into-composited-scrolling.js"></script>
8 // Tests set 2 of opt-in permutations, ensuring that each layout in the
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
11 // broken due to this promote.
13 // Note that permutation set 2 specifically tests the permutations for which
14 // the 'sibling' is placed at the index 2 of the paint order.
15 if (window.internals) {
16 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true);
17 window.internals.settings.setCompositorDrivenAcceleratedScrollingEnabled(false);
23 runOptInPermutationSet(2);
26 window.addEventListener('load', doTest, false);