Changeset 237411 in webkit
- Timestamp:
- Oct 25, 2018 5:46:28 AM (6 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 8 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r237408 r237411 1 2018-10-25 Frederic Wang <fwang@igalia.com> 2 3 Add more tests for the Find UI 4 https://bugs.webkit.org/show_bug.cgi?id=190823 5 6 Reviewed by Antonio Gomes. 7 8 We add more tests for iOS's find UI to cover cases fixed by r224284. Equivalent tests for 9 subframes currently fails when frame flattening is disabled, they will be handled in bug 10 184297. 11 12 * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-expected.png: Added. 13 * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-expected.txt: Added. 14 * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-limit-expected.png: Added. 15 * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-limit-expected.txt: Added. 16 * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position-limit.html: Added. 17 Test with a match at the limit of the scrolling element. 18 * platform/ios/fast/scrolling/find-text-in-overflow-node-indicator-position.html: Added. Test 19 with a match at the middle of the scrolling element. 20 * platform/ios/fast/scrolling/find-text-in-overflow-node.html: Use names for parameters to 21 make it more explicit. 22 * platform/ios/fast/scrolling/find-text-in-subframe-expected.txt: Added. 23 * platform/ios/fast/scrolling/find-text-in-subframe.html: Added. Test with a subframe instead 24 of an overflow node. 25 1 26 2018-10-25 Jiewen Tan <jiewen_tan@apple.com> 2 27 -
trunk/LayoutTests/platform/ios/fast/scrolling/find-text-in-overflow-node.html
r229801 r237411 15 15 return; 16 16 17 var findOptions = 1 << 6; // show find indicator 18 var maxCount = 4; 17 19 var node = document.getElementById("scrollable"); 18 20 test(function() { … … 22 24 var afterMatch4 = async_test("Position of overflow node after the fourth result"); 23 25 testRunner.runUIScript(` 24 uiController.findString("match", 0, 4); // match25 uiController.findString("match", 0, 4); // match 226 uiController.findString("match", 0, 4); // match 326 uiController.findString("match", ${findOptions}, ${maxCount}); // match 27 uiController.findString("match", ${findOptions}, ${maxCount}); // match 2 28 uiController.findString("match", ${findOptions}, ${maxCount}); // match 3 27 29 uiController.uiScriptComplete("Done"); 28 30 `, afterMatch3.step_func_done(function() { 29 31 assert_equals(node.scrollTop, 0); 30 32 testRunner.runUIScript(` 31 uiController.findString("match", 0, 4); // match 433 uiController.findString("match", ${findOptions}, ${maxCount}); // match 4 32 34 uiController.uiScriptComplete("Done"); 33 35 `, afterMatch4.step_func_done(function() {
Note: See TracChangeset
for help on using the changeset viewer.