Bug 248626 - Remove Apple-style-span CSS class support
Summary: Remove Apple-style-span CSS class support
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: GoodFirstBug, InRadar
Depends on:
Blocks:
 
Reported: 2022-12-01 12:59 PST by Ahmad Saleem
Modified: 2023-03-23 15:29 PDT (History)
5 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-01 12:59:06 PST
Hi Team,

While going through Blink's commit, I came across another about removing old code:

Blink Code - https://chromium.googlesource.com/chromium/src.git/+/5b32d74c7168caa99fd78792166b0c7e03ac1515 & https://chromium.googlesource.com/chromium/src.git/+/a6290b25704a33a38ea24f338ebe2360437580af

Webkit GitHub Source (Example) - https://github.com/WebKit/WebKit/blob/2c298496904ce18b232566e9677e3122e1018b88/Source/WebCore/editing/ApplyStyleCommand.cpp#L66 & https://github.com/WebKit/WebKit/blob/bb23e4eae6409a6dc22a4499c3ac9bdf7a4e56df/Source/WebCore/rendering/RenderTreeAsText.cpp#L138

Just wanted to raise bug to remove it after input from others that it is not used internally and we can remove it safely.

Thanks!
Comment 1 Ryosuke Niwa 2022-12-01 13:07:04 PST
We could consider deleting that code now although there isn't much upside to it. The amount of code that can be removed is rather small.
Comment 2 Radar WebKit Bug Importer 2022-12-08 13:00:21 PST
<rdar://problem/103143023>
Comment 3 Ahmad Saleem 2023-03-23 15:29:58 PDT
I have this here as Draft PR but still working locally. For some reason, it leads to crashes of multiple tests. Still working locally to understand the bugs:

https://github.com/WebKit/WebKit/pull/11841

Any help or pointer would be great.