WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
260229
[text-wrap] Support first-line related CSS interactions in text-wrap: balance
https://bugs.webkit.org/show_bug.cgi?id=260229
Summary
[text-wrap] Support first-line related CSS interactions in text-wrap: balance
David Choi
Reported
2023-08-15 16:32:09 PDT
The current implementation of text-wrap: balance does not account for ::first-line styling, text-indent, and white-space-collapse. Indentation and ::first-line styling are both CSS factors related to the first line of inline content (or, at least in the case of indentation, the first line after a forced line break). There is also the question of whether leading/trailing white space with `white-space-collapse: preserve` should count as content to be balanced. It turns out that we should always trim leading/trailing preserved white space, except if it is leading preserved white space on the first line (or the first line after a forced line break).
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-08-15 16:33:10 PDT
<
rdar://problem/113934501
>
David Choi
Comment 2
2023-08-16 20:14:15 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/16773
EWS
Comment 3
2023-08-17 12:21:24 PDT
Committed
267009@main
(d25ec10246e8): <
https://commits.webkit.org/267009@main
> Reviewed commits have been landed. Closing PR #16773 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug