Changeset 245518 in webkit
- Timestamp:
- May 20, 2019 10:24:20 AM (5 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r245517 r245518 1 2019-05-20 Andres Gonzalez <andresg_22@apple.com> 2 3 Hitpoint for link which spans two lines in web content is incorrect 4 https://bugs.webkit.org/show_bug.cgi?id=197511 5 <rdar://problem/49971483> 6 7 Reviewed by Chris Fleizach. 8 9 * accessibility/ios-simulator/links-activation.html: 10 * accessibility/links-activation-expected.txt: 11 * accessibility/links-activation.html: 12 1 13 2019-05-20 Sihui Liu <sihui_liu@apple.com> 2 14 -
trunk/LayoutTests/accessibility/ios-simulator/links-activation.html
r244983 r245518 38 38 39 39 if (window.accessibilityController) { 40 window.jsTestIsAsync = true;41 42 40 var link = accessibilityController.accessibleElementById("multiline-link"); 43 41 shouldBeTrue("clickPointInsideFrame(link)"); … … 47 45 shouldBeTrue("clickPointInsideFrame(link)"); 48 46 link.press(); 49 50 setTimeout(51 function() {52 finishJSTest();53 }, 10);54 47 } 55 48 </script> -
trunk/LayoutTests/accessibility/links-activation-expected.txt
r244983 r245518 13 13 14 14 click event [object MouseEvent] for element A with id multiline-link 15 PASS clicked became true 15 16 click event [object MouseEvent] for element A with id singleline-link 17 PASS clicked became true 16 18 PASS successfullyParsed is true 17 19 -
trunk/LayoutTests/accessibility/links-activation.html
r244983 r245518 7 7 testRunner.dumpAsText(); 8 8 9 var clicked = false; 9 10 function handleClick(event) { 11 clicked = true; 10 12 debug("click event " + event 11 13 + " for element " + event.target.nodeName … … 36 38 var link = accessibilityController.accessibleElementById("multiline-link"); 37 39 link.press(); 40 shouldBecomeEqual("clicked", "true", function() { 41 clicked = false; 38 42 39 link = accessibilityController.accessibleElementById("singleline-link"); 40 link.press(); 41 42 setTimeout( 43 function() { 43 link = accessibilityController.accessibleElementById("singleline-link"); 44 link.press(); 45 shouldBecomeEqual("clicked", "true", function() { 44 46 finishJSTest(); 45 }, 10); 47 }); 48 }); 46 49 } 47 50 </script>
Note: See TracChangeset
for help on using the changeset viewer.