Changeset 245316 in webkit
- Timestamp:
- May 14, 2019 9:00:05 PM (5 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r245315 r245316 1 2019-05-14 Megan Gardner <megan_gardner@apple.com> 2 3 Fix flakey test fast/events/autoscroll-when-input-is-offscreen.html 4 https://bugs.webkit.org/show_bug.cgi?id=197897 5 <rdar://problem/50306931> 6 7 Reviewed by Wenson Hsieh. 8 9 Programmatic scrolls are included in the transaction and we want to 10 ensure that they've been applied. Then we can be sure that the page 11 has finished scrolling and it's appropriate to test the page offset. 12 13 * fast/events/autoscroll-when-input-is-offscreen.html: 14 1 15 2019-05-14 Shawn Roberts <sroberts@apple.com> 2 16 -
trunk/LayoutTests/fast/events/autoscroll-when-input-is-offscreen.html
r244397 r245316 20 20 await UIHelper.activateElementAndWaitForInputSession(document.getElementById('editable')); 21 21 22 var program aticScroll = 500;23 document.scrollingElement.scrollTop = program aticScroll;22 var programmaticScroll = 500; 23 document.scrollingElement.scrollTop = programmaticScroll; 24 24 await UIHelper.enterText("Test"); 25 26 if (window.pageYOffset < program aticScroll)25 await UIHelper.ensurePresentationUpdate(); 26 if (window.pageYOffset < programmaticScroll) 27 27 output += 'PASS: page has scrolled back to the top to show the element that has text being entered into it.'; 28 28 else
Note: See TracChangeset
for help on using the changeset viewer.