Bug 254319 - TextManipulationController can remove whitespace between a list of white-space: nowrap items
Summary: TextManipulationController can remove whitespace between a list of white-spac...
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:
 
Reported: 2023-03-22 23:48 PDT by Ryosuke Niwa
Modified: 2023-03-23 14:08 PDT (History)
2 users (show)

See Also:


Attachments
Sample Chinese content (397 bytes, text/html)
2023-03-22 23:48 PDT, Ryosuke Niwa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2023-03-22 23:48:11 PDT
Created attachment 465549 [details]
Sample Chinese content

There are some websites which use anchor element with white-space: nowrap as a list item.
In some cases, TextManipulationController can end up stripping whitespace between those items,
and turn the entire list into one long text (because of white-space: nowrap on anchor elements).

<rdar://103521673>
Comment 1 Ryosuke Niwa 2023-03-23 00:05:19 PDT
Pull request: https://github.com/WebKit/WebKit/pull/11853
Comment 2 EWS 2023-03-23 14:08:44 PDT
Committed 262036@main (da777142e59d): <https://commits.webkit.org/262036@main>

Reviewed commits have been landed. Closing PR #11853 and removing active labels.