AccessGenerationState::emitExplicitExceptionHandler can clobber an in use register
[WebKit-https.git] / LayoutTests / compositing / shared-backing / overflow-scroll / relative-in-clipping-in-scroller-in-relative-clipping.html
1 <!DOCTYPE html> <!-- webkit-test-runner [ internal:AsyncOverflowScrollingEnabled=true ] -->
2 <html>
3 <head>
4     <style>
5         .container {
6             width: 300px;
7             height: 300px;
8             border: 2px solid gray;
9             margin: 20px;
10             padding: 10px;
11             position: relative;
12             overflow-y: hidden;
13         }
14         
15         .scroller {
16             overflow-x: auto;
17             width: 100%;
18             height: 100%;
19             border: 2px solid black;
20         }
21         
22         .clipping {
23             overflow: hidden;
24             width: 200px;
25             border: 2px solid black;
26             margin: 10px;
27             padding: 20px;
28         }
29         
30         .relative {
31             position: relative;
32             border: 2px solid orange;
33             height: 40px;
34         }
35
36         .spacer {
37             height: 300px;
38         }
39     </style>
40     <script>
41         if (window.testRunner)
42             testRunner.dumpAsText();
43
44         window.addEventListener('load', () => {
45             if (window.internals)
46                 document.getElementById('layers').textContent = internals.layerTreeAsText(document);
47         }, false);
48     </script>
49 </head>
50 <body>
51     <div class="container">
52         <div class="scroller">
53             <div class="clipping">
54                 Clipping
55                 <div class="relative">
56                     Relative
57                 </div>
58             </div>
59             <div class="spacer"></div>
60         </div>
61     </div>
62 <pre id="layers"></pre>
63 </body>
64 </html>