[Webkit-unassigned] [Bug 259188] "-webkit-box-decoration-break: clone" with left and right padding causes unexpected wrapping of inline content

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 13 07:48:29 PDT 2023


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

--- Comment #5 from zalan <zalan at apple.com> ---
Created attachment 467033

  --> https://bugs.webkit.org/attachment.cgi?id=467033&action=review

Test reduction

This looks to be a "shrink to fit" bug where the intrinsic width computation does not take the padding (border) value into account when decoration clone is present. (e.g. we measure the content (as part of the preferred width computation) and we think it is going to fit in 100px and later when we run the actual inline layout, we notice the content is 110px wide (extra 10px comes from padding) and we need to wrap some part of it to the subsequent line.)

-- 
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/20230713/93be2b06/attachment.htm>


More information about the webkit-unassigned mailing list