Changeset 249042 in webkit
- Timestamp:
- Aug 23, 2019 12:25:00 AM (5 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r249040 r249042 1 2019-08-23 Megan Gardner <megan_gardner@apple.com> 2 3 Revert delete-in-input-in-iframe.html and typing-in-input-in-iframe.html to original behaviour after r248977 and make associated test autoscroll-input-when-very-zoomed.html more stable 4 https://bugs.webkit.org/show_bug.cgi?id=201058 5 6 Reviewed by Simon Fraser. 7 8 delete-in-input-in-iframe and typing-in-input-in-iframe were changed when scrolling was made to work differently in r244141. 9 They actually did find a bug, and that bug was fixed in r248977, so we put the tests back to test that scolls do not happen. 10 Also update autoscroll-input-when-very-zoomed which was added to test r248977 to be more robust. 11 12 * fast/forms/ios/delete-in-input-in-iframe-expected.txt: 13 * fast/forms/ios/delete-in-input-in-iframe.html: 14 * fast/forms/ios/typing-in-input-in-iframe-expected.txt: 15 * fast/forms/ios/typing-in-input-in-iframe.html: 16 * fast/scrolling/ios/autoscroll-input-when-very-zoomed.html: 17 1 18 2019-08-22 Fujii Hironori <Hironori.Fujii@sony.com> 2 19 -
trunk/LayoutTests/fast/forms/ios/delete-in-input-in-iframe-expected.txt
r247571 r249042 1 1 Tests that typing into a text input in an iframe should not scroll. 2 2 3 PASS: page scrolled to 11433 PASS: page did not scroll. 4 4 Click to focus input 5 5 -
trunk/LayoutTests/fast/forms/ios/delete-in-input-in-iframe.html
r247571 r249042 40 40 function pageDidScroll() 41 41 { 42 document.getElementById('result').textContent = ' PASS: page scrolled to ' + document.scrollingElement.scrollTop;42 document.getElementById('result').textContent = 'FAIL: page scrolled to ' + document.scrollingElement.scrollTop; 43 43 } 44 44 … … 77 77 <p>Tests that typing into a text input in an iframe should not scroll.</p> 78 78 <div id="result"> 79 FAIL: page did not scroll.79 PASS: page did not scroll. 80 80 </div> 81 81 -
trunk/LayoutTests/fast/forms/ios/typing-in-input-in-iframe-expected.txt
r247648 r249042 1 1 Tests that typing into a text input in an iframe should not scroll. 2 2 3 PASS: page scrolled to 11433 PASS: page did not scroll. 4 4 Click to focus input 5 5 -
trunk/LayoutTests/fast/forms/ios/typing-in-input-in-iframe.html
r247648 r249042 40 40 function pageDidScroll() 41 41 { 42 document.getElementById('result').textContent = ' PASS: page scrolled to ' + document.scrollingElement.scrollTop;42 document.getElementById('result').textContent = 'FAIL: page scrolled to ' + document.scrollingElement.scrollTop; 43 43 } 44 44 … … 77 77 <p>Tests that typing into a text input in an iframe should not scroll.</p> 78 78 <div id="result"> 79 FAIL: page did not scroll.79 PASS: page did not scroll. 80 80 </div> 81 81 -
trunk/LayoutTests/fast/scrolling/ios/autoscroll-input-when-very-zoomed.html
r248977 r249042 25 25 await UIHelper.immediateScrollTo(390, 390); 26 26 27 await UIHelper.delayFor(200);27 await Promise.all([UIHelper.ensureVisibleContentRectUpdate(), UIHelper.ensureStablePresentationUpdate()]); 28 28 29 29 var originalXOffset = window.pageXOffset; … … 36 36 37 37 // Scrolling is not immedate, wait until the viewport has time to adjust 38 await UIHelper.delayFor(25);38 await Promise.all([UIHelper.ensureVisibleContentRectUpdate(), UIHelper.ensurePresentationUpdate()]); 39 39 await UIHelper.enterText("a"); 40 40 … … 48 48 output += 'FAIL: page has failed to scrolled on the first input<br>'; 49 49 if ((secondXOffset != finalXOffset) || (secondYOffset != finalYOffset)) 50 output += 'FAIL: page has scrolled on the secon tinput';50 output += 'FAIL: page has scrolled on the second input'; 51 51 } 52 52 output += '<br>';
Note: See TracChangeset
for help on using the changeset viewer.