Bug 245194

Summary: [css-flexbox] Consider container percentage based sizes when determining definite cross size
Product: WebKit Reporter: Sammy Gill <sgill26>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/35902
https://bugs.webkit.org/show_bug.cgi?id=245540

Sammy Gill
Reported 2022-09-14 14:39:04 PDT
If the flex container has a percentage based cross size and we can get the available cross size from its containing block, then it is considered to have a definite cross size. This is used when computing the transferred size suggestion: If the item has an intrinsic aspect ratio and its computed cross size property is definite, then the transferred size suggestion is that size (clamped by its min and max cross size properties if they are definite), converted through the aspect ratio. It is otherwise undefined.
Attachments
Sammy Gill
Comment 1 2022-09-14 14:39:15 PDT
Sammy Gill
Comment 2 2022-09-14 15:17:00 PDT
EWS
Comment 3 2022-09-22 10:08:38 PDT
Committed 254758@main (39cc41965e9e): <https://commits.webkit.org/254758@main> Reviewed commits have been landed. Closing PR #4362 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.