Changeset 238450 in webkit
- Timestamp:
- Nov 22, 2018 12:32:52 PM (5 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r238448 r238450 1 2018-11-22 Frederic Wang <fwang@igalia.com> 2 3 Improve fast/scrolling/scrolling-tree-includes-frame.html 4 https://bugs.webkit.org/show_bug.cgi?id=191912 5 6 These are small improvements to scrolling-tree-includes-frame.html: 7 - Run doTest() after the iframe is loaded and use waitUntilDone/notifyDone for more reliable timing. 8 - Use iframe@srcdoc instead of iframe@src and put the content of the iframe document in its own line. 9 - Move the iframe style in a separate <style> tag and ensure the iframe is really positioned at (0,0) 10 with no extra margin/padding/border. 11 - Remove unnecessary id="frame" 12 The test expectation is not changed. 13 14 Reviewed by Antonio Gomes. 15 16 * fast/scrolling/scrolling-tree-includes-frame.html: 17 1 18 2018-11-22 Zalan Bujtas <zalan@apple.com> 2 19 -
trunk/LayoutTests/fast/scrolling/scrolling-tree-includes-frame.html
r218534 r238450 4 4 <title>Check whether scrollable iframes are included in the scrolling tree when async frame scrolling is enabled</title> 5 5 <script> 6 if (window.testRunner) 6 if (window.testRunner) { 7 7 testRunner.dumpAsText(); 8 testRunner.waitUntilDone(); 9 } 8 10 if (window.internals) 9 11 window.internals.settings.setAsyncFrameScrollingEnabled(true); … … 12 14 if (window.internals) 13 15 document.getElementById('scrollingTree').innerText = window.internals.scrollingStateTreeAsText() + "\n"; 16 if (window.testRunner) 17 testRunner.notifyDone(); 14 18 } 15 window.addEventListener('load', doTest, false);16 19 </script> 20 <style> 21 iframe { 22 position: absolute; 23 left: 0; 24 top: 0; 25 width: 100px; 26 height: 200px; 27 margin: 0; 28 border: 0; 29 padding: 0; 30 } 31 </style> 17 32 </head> 18 33 <body> 19 <iframe id="frame" style="width: 100px; height: 200px; border: 1px solid black;" src="data:text/html,<div style='width: 300px; height: 400px; background: gray;'></div>"></iframe> 34 <iframe onload="doTest()" srcdoc=" 35 <div style='width: 300px; height: 400px; background: gray;'></div>"> 36 </iframe> 20 37 <pre id="scrollingTree"></pre> 21 38 </body>
Note: See TracChangeset
for help on using the changeset viewer.