Bug 263494
| Summary: | Support text-wrap: balance with floats | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
| Component: | Layout and Rendering | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/117295008>
Tim Nguyen (:ntim)
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
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