Unreviewed, rolling out r244228.
[WebKit-https.git] / LayoutTests / scrollingcoordinator / scrolling-tree / coordinated-frame.html
1 <!DOCTYPE html>\r
2 <html>\r
3 <head>\r
4     <style>\r
5         body {\r
6             height: 1000px;\r
7         }\r
8         \r
9         iframe {\r
10             display: block;\r
11             margin: 10px;\r
12             border: 5px solid black;\r
13         }\r
14         \r
15         #container {\r
16             position: absolute;\r
17             top: 10px;\r
18             border: 4px solid green;\r
19             padding: 10px;\r
20         }\r
21         \r
22         #container {\r
23             border: 4px solid orange;\r
24         }\r
25         \r
26         #tree {\r
27             position: absolute;\r
28             top: 375px;\r
29         }\r
30     </style>\r
31     <script>\r
32         if (window.testRunner) {\r
33             testRunner.dumpAsText();\r
34             window.internals.settings.setScrollingTreeIncludesFrames(true);\r
35         }\r
36 \r
37         function startTest()\r
38         {\r
39             if (window.internals)\r
40                 document.getElementById('tree').innerText = internals.scrollingStateTreeAsText();\r
41         }\r
42         \r
43         window.addEventListener('load', startTest, false);\r
44     </script>\r
45 </head>\r
46 <body>\r
47     \r
48     <div id="container">\r
49         <iframe src="resources/doc-with-sticky.html" width="500" height="300"></iframe>\r
50     </div>\r
51 <pre id="tree">Scrolling tree goes here</pre>\r
52 </body>\r
53 </html>\r