Bug 246938 - Remove style spans to follow the styles of list item
Summary: Remove style spans to follow the styles of list item
Status: RESOLVED INVALID
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:
Depends on:
Blocks:
 
Reported: 2022-10-24 02:39 PDT by Ahmad Saleem
Modified: 2022-10-25 14:24 PDT (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-10-24 02:39:17 PDT
Hi Team,

There are some similar bug but not particular ones to cover this blink merge:

Blink Merge Candidate - https://chromium.googlesource.com/chromium/src.git/+/bb59e5b729913a2023ea70e50d0689626565dd7e

We are failing this test current and matching Chrome but we are also adding unintended "span" to first list item and it is also reflected through test cases.

Just wanted to create the bug to do pull request to appropriate bug.

Thanks!
Comment 1 Ahmad Saleem 2022-10-25 14:24:42 PDT
PR - https://github.com/WebKit/WebKit/pull/5686

Based on discussion with Ryosuke, Webkit behavior is expected and right behavior which is near to intention of web developers to expect that the removal of span does not remove any styling associating with paragraph.

I am going to close this bug with "RESOLVED INVALID". Thanks!