Bug 250114

Summary: [Live Range Selection] text recognition tests fail
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 216325    

Description Ryosuke Niwa 2023-01-04 17:02:41 PST
The following tests fail when enabling live range selection:
fast/images/text-recognition/mac/context-menu-for-image-in-link-contains-copy.html
fast/images/text-recognition/mac/select-image-overlay-with-mouse-drag-2.html
fast/images/text-recognition/mac/select-word-in-draggable-image-overlay.html
fast/images/text-recognition/mac/select-word-in-transparent-image-overlay.html

This is because these tests rely on being able to select contents inside a UA shadow tree.
This is not possible once live range selection is enabled.
Comment 1 Ryosuke Niwa 2023-01-04 17:09:53 PST
Pull request: https://github.com/WebKit/WebKit/pull/8221
Comment 2 EWS 2023-01-04 21:52:15 PST
Committed 258476@main (b011a6f10fc0): <https://commits.webkit.org/258476@main>

Reviewed commits have been landed. Closing PR #8221 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-01-04 21:53:34 PST
<rdar://problem/103900972>