WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
110920
In Flexbox, allow intrinsic aspect ratios to inform the main-size calculation
https://bugs.webkit.org/show_bug.cgi?id=110920
Summary
In Flexbox, allow intrinsic aspect ratios to inform the main-size calculation
Tony Chang
Reported
2013-02-26 15:54:38 PST
According to
http://dev.w3.org/csswg/css3-flexbox/#algo-main-item
: If flex item has an intrinsic aspect ratio, the flex item has ‘align-self: stretch’, the flex basis and cross size are both ‘auto’ , and the flex container is single-line and has a definite cross size, the flex base size is computed from the flex container's inner cross size (clamped to the flex item’s min and max cross size) and the flex item’s intrinsic aspect ratio. This was recently added to the spec, but I don't think we handle it properly.
Attachments
Add attachment
proposed patch, testcase, etc.
Sergio Villar Senin
Comment 1
2020-11-16 02:54:49 PST
This was done some time ago. It isn't working completely ok yet (see
bug 199583
or
bug 209983
for example) but we're closer now.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug