Bug 254319

Summary: TextManipulationController can remove whitespace between a list of white-space: nowrap items
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: HTML EditingAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Sample Chinese content none

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.