Bug 246284 - [Live Range Selection] A few tests fail due to behavior difference in VisibleSelection::selectionFromContentsOfNode
Summary: [Live Range Selection] A few tests fail due to behavior difference in Visible...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords: InRadar
Depends on:
Blocks: 216325
  Show dependency treegraph
 
Reported: 2022-10-10 11:04 PDT by Ryosuke Niwa
Modified: 2022-11-23 01:52 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2022-10-10 11:04:23 PDT
The following tests fail when enabling Live Range Selection due to canonicalization no longer happening in VisibleSelection::selectionFromContentsOfNode:
LayoutTests/editing/deleting/paste-with-transparent-background-color.html
LayoutTests/editing/execCommand/delete-selection-has-style.html
LayoutTests/editing/input/select-all-clear-input-method.html
LayoutTests/editing/pasteboard/contenteditable-pre-2.html
LayoutTests/editing/pasteboard/copy-paste-content-starting-and-ending-canvas.html
LayoutTests/editing/pasteboard/preserve-line-break-at-end-of-pasted-content.html
LayoutTests/editing/selection/select-all-user-select-none.html
Comment 1 Ryosuke Niwa 2022-10-10 11:07:50 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5197
Comment 2 EWS 2022-10-10 17:39:06 PDT
Committed 255372@main (aef26c62b048): <https://commits.webkit.org/255372@main>

Reviewed commits have been landed. Closing PR #5197 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-10-10 17:40:36 PDT
<rdar://problem/101006626>