Bug 194132 - Absolute parent of child with min-width:fit-content and set width doesn't respect the min-width
Summary: Absolute parent of child with min-width:fit-content and set width doesn't res...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac macOS 10.13
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-01-31 17:53 PST by Travis Dahl
Modified: 2022-07-15 13:39 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Dahl 2019-01-31 17:53:29 PST
Absolute parent of child with min-width:fit-content and set width doesn't respect the min-width, instead it is respecting the set width. The child renders as expected but the parent is taking on the wrong width. It does not happen with height, only width. Please see codepen link

https://codepen.io/travisdahl/pen/bzqwQr
Comment 1 Brent Fulgham 2022-07-15 13:39:15 PDT
WebKit doesn't seem to handle the blue case properly.
Comment 2 Radar WebKit Bug Importer 2022-07-15 13:39:25 PDT
<rdar://problem/97091657>