Bug 263494

Summary: Support text-wrap: balance with floats
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, simon.fraser, vitor.roriz, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Tim Nguyen (:ntim) 2023-10-20 22:53:04 PDT
See WPTs:

imported/w3c/web-platform-tests/css/css-text/white-space/text-wrap-balance-float-001.html [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-text/white-space/text-wrap-balance-float-002.html [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-text/white-space/text-wrap-balance-float-003.html [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-text/white-space/text-wrap-balance-float-004.html [ ImageOnlyFailure ]
imported/w3c/web-platform-tests/css/css-text/white-space/text-wrap-balance-float-005.html [ ImageOnlyFailure ]
Comment 1 Radar WebKit Bug Importer 2023-10-20 22:53:12 PDT
<rdar://problem/117295008>
Comment 2 Tim Nguyen (:ntim) 2023-10-20 22:55:01 PDT
There is a Knuth-Plass based algorithm implemented at https://github.com/WebKit/WebKit/pull/16455 which might make it easier to support floats.