This website requires JavaScript.
Explore
Help
Sign In
nephele
/
haikuwebkit
Watch
1
Star
0
Fork
You've already forked haikuwebkit
0
Code
Issues
Releases
Activity
haiku
haikuwebkit
/
LayoutTests
/
pointerevents
/
ios
/
touch-action-none-link-trav...
5 lines
71 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
[iOS] "touch-action: none" should not prevent text selection or tapping on a link https://bugs.webkit.org/show_bug.cgi?id=194812 <rdar://problem/47901131> Reviewed by Dean Jackson. Source/WebKit: We shouldn't prevent all gestures to be disabled when "touch-action: none" is set and instead follow the same code path we would use should "pan-x", "pan-y" or "pinch-zoom" be used. * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _handleTouchActionsForTouchEvent:]): LayoutTests: Add a new test which checks that tapping on a link with "touch-action: none" does not prevent navigation. * pointerevents/ios/over-enter-out-leave.html: * pointerevents/ios/touch-action-none-link-traversal-expected.txt: Added. * pointerevents/ios/touch-action-none-link-traversal.html: Added. * pointerevents/utils.js: Since we now have two tests performing a tap, we add a ui.tap() method which is a wrapper for uiController.singleTapAtPoint(). (const.ui.new.UIController.prototype.tap): Canonical link: https://commits.webkit.org/209191@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-02-19 10:45:48 +00:00
Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) https://bugs.webkit.org/show_bug.cgi?id=217016 Reviewed by Zalan Bujtas. Done with this command: find LayoutTests -name '*-expected.txt' | grep -v imported | xargs awk '/^CONSOLE MESSAGE:/ { next }; /^<\?xml/ { nextfile }; { print FILENAME; nextfile }' | xargs perl -i -pe 's/ +$//g' This affects many files, and it's not helpful to clog the change log with a list of them. Canonical link: https://commits.webkit.org/229803@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-27 02:15:19 +00:00
PASS Testing that setting touch-action: none allows link traversal.
[iOS] "touch-action: none" should not prevent text selection or tapping on a link https://bugs.webkit.org/show_bug.cgi?id=194812 <rdar://problem/47901131> Reviewed by Dean Jackson. Source/WebKit: We shouldn't prevent all gestures to be disabled when "touch-action: none" is set and instead follow the same code path we would use should "pan-x", "pan-y" or "pinch-zoom" be used. * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _handleTouchActionsForTouchEvent:]): LayoutTests: Add a new test which checks that tapping on a link with "touch-action: none" does not prevent navigation. * pointerevents/ios/over-enter-out-leave.html: * pointerevents/ios/touch-action-none-link-traversal-expected.txt: Added. * pointerevents/ios/touch-action-none-link-traversal.html: Added. * pointerevents/utils.js: Since we now have two tests performing a tap, we add a ui.tap() method which is a wrapper for uiController.singleTapAtPoint(). (const.ui.new.UIController.prototype.tap): Canonical link: https://commits.webkit.org/209191@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@241760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-02-19 10:45:48 +00:00