Upstream version 7.35.144.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / compositing / overflow / build-paint-order-lists-part-4.html
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"></script>
7   <script src="resources/build-paint-order-lists.js"></script>
8   <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
13     // containers.
14     //
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);
20     }
21
22     function doTest()
23     {
24       buildDom();
25       runPaintOrderPermutationSet(3);
26     }
27
28     window.addEventListener('load', doTest, false);
29   </script>
30 </head>
31
32 <body>
33 </body>
34 </html>