[Webkit-unassigned] [Bug 260229] New: [text-wrap] Support first-line related CSS interactions in text-wrap: balance

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 15 16:32:09 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=260229

            Bug ID: 260229
           Summary: [text-wrap] Support first-line related CSS
                    interactions in text-wrap: balance
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: david_choi5 at apple.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

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).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230815/8621befc/attachment.htm>


More information about the webkit-unassigned mailing list