Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 629de7a97bf2d571ca9c98187bbb63c21ecc12d9
https://github.com/WebKit/WebKit/commit/629de7a97bf2d571ca9c98187bbb63c21ecc12d9
Author: Cole Carley <[email protected]>
Date: 2026-09-30 (Wed, 30 Sep 2026)
Changed paths:
M
LayoutTests/editing/selection/ios/touchmove-to-change-selection-with-prevent-default.html
M LayoutTests/platform/ios/fast/quirks/active-quirks-by-domain-expected.txt
M LayoutTests/platform/ipad/fast/quirks/active-quirks-by-domain-expected.txt
M Source/WebCore/page/QuirkBehaviors.h
M Source/WebCore/page/QuirkTable.cpp
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/page/Quirks.h
M Source/WebKit/Shared/EditorState.h
M Source/WebKit/Shared/EditorState.serialization.in
M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
M Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm
Log Message:
-----------
Put touchmove to change selection behavior behind an outlook.live.com quirk
https://bugs.webkit.org/show_bug.cgi?id=325710
rdar://188758849
Reviewed by Wenson Hsieh.
311216@main caused broke custom text selection in canvas-based editors that use
a hidden, focused contenteditable
element for keyboard and IME input, as stated in a comment here:
https://github.com/WebKit/WebKit/commit/6ada1137f92bbf920f4c657cdb44251f3ea5aa41#commitcomment-202653183
This patch puts the behavior introduced in that patch behind a quirk for
outlook.live.com.
*
LayoutTests/editing/selection/ios/touchmove-to-change-selection-with-prevent-default.html:
* LayoutTests/platform/ios/fast/quirks/active-quirks-by-domain-expected.txt:
* LayoutTests/platform/ipad/fast/quirks/active-quirks-by-domain-expected.txt:
* Source/WebCore/page/QuirkBehaviors.h:
* Source/WebCore/page/QuirkTable.cpp:
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldAllowTouchMoveToChangeSelection const):
* Source/WebCore/page/Quirks.h:
* Source/WebKit/Shared/EditorState.h:
* Source/WebKit/Shared/EditorState.serialization.in:
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _isTouchNearSelectionHandle:]):
* Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:
(WebKit::WebPage::getPlatformEditorState const):
Canonical link: https://commits.webkit.org/322312@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications