Post increment/decrement should only call ToNumber once
[WebKit-https.git] / LayoutTests / compositing / shared-backing / overflow-scroll / non-self-painting-layer-should-not-share.html
1 <!DOCTYPE html> <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] -->
2 <html>
3 <head>
4     <title>Tests that a non-self-painting layer doesn't get into the sharing list</title>
5     <style>
6         .scroller {
7             margin: 20px;
8             width: 300px;
9             height: 300px;
10             overflow: auto;
11             border: 2px solid black;
12             padding: 10px;
13         }
14
15         .clipping {
16             overflow: hidden;
17             top: 50px;
18             left: 200px;
19             height: 200px;
20             width: 200px;
21             border: 2px solid orange;
22         }
23         
24         .relative {
25             position: relative;
26         }
27
28         .spacer {
29             height: 150px;
30         }
31     </style>
32     <script>
33         if (window.testRunner)
34             testRunner.dumpAsText();
35     </script>
36 </head>
37 <body>
38     <p>Test passes if it does not assert in debug.</p>
39     <div class="scroller">
40         <div class="clipping">this is clipped</div>
41         <div class="relative">
42             <div class="clipping">this is clipped</div>
43         </div>
44         <div class="spacer"></div>
45     </div>
46 </body>
47 </html>
48