Could css-sizing-3 please introduce something like <box-length> or <box-dimension> = <length-percentage [0,∞]> | min-content | max-content | fit-content(<length-percentage [0,∞]>) | <calc-size()>?
With that production, <'width'>, <'height'>, <'min-width'>, <'min-height'> could be simplified to auto | <box-dimension>, whereas <'max-width'>, <'max-height'> could become none | <box-dimension>. This would make the difference more noticeable.
css-sizing-4 can then add stretch | fit-content | contain to it.
css-logical refers to <'width'> and <'min-width'> and <'max-width'>. Although this is the future-safe way, it feels a bit weird that the height properties also use a width value.
css-flexbox could either keep its content | <'width'> value syntax for the flex-basis property, or switch to auto | content | <box-dimension>.
There may be other places affected.
Could css-sizing-3 please introduce something like
<box-length>or<box-dimension> = <length-percentage [0,∞]> | min-content | max-content | fit-content(<length-percentage [0,∞]>) | <calc-size()>?With that production,
<'width'>,<'height'>,<'min-width'>,<'min-height'>could be simplified toauto | <box-dimension>, whereas<'max-width'>,<'max-height'>could becomenone | <box-dimension>. This would make the difference more noticeable.css-sizing-4 can then add
stretch | fit-content | containto it.css-logical refers to
<'width'>and<'min-width'>and<'max-width'>. Although this is the future-safe way, it feels a bit weird that the height properties also use a width value.css-flexbox could either keep its
content | <'width'>value syntax for theflex-basisproperty, or switch toauto | content | <box-dimension>.There may be other places affected.