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, chriskirknielsen+wkbugs, simon.fraser, vitor.roriz, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Tim Nguyen (:ntim)
Reported 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 ]
Attachments
Radar WebKit Bug Importer
Comment 1 2023-10-20 22:53:12 PDT
Tim Nguyen (:ntim)
Comment 2 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.
Christopher Kirk-Nielsen
Comment 3 2025-11-05 19:39:05 PST
Found this bug before filing my own, it's sadly still an issue, at least in Safari 18.1. Here's a minimal test case if helpful: https://codepen.io/chriskirknielsen/pen/LEGoLwo
Note You need to log in before you can comment on or make changes to this bug.