Bug 245194
Summary: | [css-flexbox] Consider container percentage based sizes when determining definite cross size | ||
---|---|---|---|
Product: | WebKit | Reporter: | Sammy Gill <sgill26> |
Component: | CSS | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Sammy Gill
rdar://99469852
Sammy Gill
Pull request: https://github.com/WebKit/WebKit/pull/4362
EWS
Committed 254758@main (39cc41965e9e): <https://commits.webkit.org/254758@main>
Reviewed commits have been landed. Closing PR #4362 and removing active labels.