Bug 258233 - Replace usages of RenderStyle::whiteSpace() with respective longhand functions
Summary: Replace usages of RenderStyle::whiteSpace() with respective longhand functions
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 258591 258329 258331 258334 258335 258336 258426 258544
Blocks:
  Show dependency treegraph
 
Reported: 2023-06-17 00:36 PDT by Tim Nguyen (:ntim)
Modified: 2023-06-27 15:38 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Nguyen (:ntim) 2023-06-17 00:36:16 PDT
We should entirely remove RenderStyle::whiteSpace() and replace it with RenderStyle::whiteSpaceCollapse() & RenderStyle::textWrap() at the relevant call sites.

This will allow getting proper layout support for the two longhand properties, notably for currently unsupported configurations like text-wrap: balance.
Comment 1 Radar WebKit Bug Importer 2023-06-17 00:36:39 PDT
<rdar://problem/110936960>