Bug 249620 - Make ReplaceSelectionCommand to handle empty SPAN replacement
Summary: Make ReplaceSelectionCommand to handle empty SPAN replacement
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-19 17:14 PST by Ahmad Saleem
Modified: 2022-12-26 17:15 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 Ahmad Saleem 2022-12-19 17:14:46 PST
Hi Team,

While going through Blink's commit, I came across another commit, which can be merged but the test case is in C++, so it would be bit difficult for myself to do:

Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/cd80804c61b6d9578a633d3546043d03aecdf27b

Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/482b2f4161de044365b2314587b9256c57845fa3/Source/WebCore/editing/ReplaceSelectionCommand.cpp#L1386

Just wanted to raise this bug so we can merge it and if needed.

Thanks!
Comment 1 Radar WebKit Bug Importer 2022-12-26 17:15:15 PST
<rdar://problem/103716446>