Summary: | Inline blocks that contain text with min-width, box-sizing: border-box incorrectly include the border in width calculation | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Oliver Byford <oliver.byford> | ||||||||||||
Component: | Layout and Rendering | Assignee: | zalan <zalan> | ||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||
Severity: | Normal | CC: | bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan | ||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||
Version: | Safari Technology Preview | ||||||||||||||
Hardware: | Mac (Apple Silicon) | ||||||||||||||
OS: | macOS 12 | ||||||||||||||
Attachments: |
|
Description
Oliver Byford
2022-01-06 13:26:52 PST
Created attachment 448531 [details]
CodePen in Safari 15.1 (17612.2.9.1.20)
Created attachment 448532 [details]
CodePen in Chrome 96
oh you bisected it, awesome!!! Will fix it shortly. Created attachment 448617 [details]
Patch
Comment on attachment 448617 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=448617&action=review > Source/WebCore/layout/formattingContexts/inline/InlineFormattingContext.cpp:172 > + , ceiledLayoutUnit(computedIntrinsicWidthForConstraint(IntrinsicWidthMode::Maximum)) odd comma placement Created attachment 448618 [details]
Patch
Committed r287779 (245839@main): <https://commits.webkit.org/245839@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 448618 [details]. |