You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sure, browsers still disagree if I use flex-basis: max-content directly.
If a cross size is needed to determine the main size (e.g. when the flex item’s main size is in its block axis, or when it has a preferred aspect ratio) and the flex item’s cross size is auto and not definite, in this calculation use fit-content as the flex item’s cross size. The flex base size is the item’s resulting main size.
OK, so here we need a cross size, to resolve the canvas percentage. The preferred cross size is auto but definite, so I shouldn't use fit-content. So I'm assuming I should use the definite cross size: https://drafts.csswg.org/css-flexbox-1/#definite-sizes
What should the flex base size be here?
I plan to align Servo with Blink, which is the behavior that makes sense to me.
The spec is not particularly clear, though: https://drafts.csswg.org/css-flexbox-1/#flex-base-size
Not definite
No preferred aspect ratio
Not the case.
Nope
Sure, browsers still disagree if I use
flex-basis: max-content
directly.OK, so here we need a cross size, to resolve the canvas percentage. The preferred cross size is
auto
but definite, so I shouldn't usefit-content
. So I'm assuming I should use the definite cross size: https://drafts.csswg.org/css-flexbox-1/#definite-sizesThe text was updated successfully, but these errors were encountered: