[css-sizing-3][css-sizing-4] Move fit-content
keyword to Level 3 and fit-content()
function to Level 4
#10601
Labels
fit-content
keyword to Level 3 and fit-content()
function to Level 4
#10601
Back in 2017, it was resolved to defer the
fit-content
keyword level 4 of the Sizing spec. together with thestretch
keyword.Though it looks like in the meantime all major browser engines implemented this keyword already. Interestingly, they don't support the
stretch
keyword yet while the spec. refers tofit-content
being equivalent tofit-content(stretch)
(which is actually not allowed at the moment, becausefit-content()
currently only takes a<length-percentage>
).At the same time, the
fit-content()
function is not supported by any browser so far. There's only an experimental implementation in Firefox.So,
fit-content
doesn't seem to be dependent onfit-content()
.Therefore, I suggest to revert the resolution of #1912 and move the
fit-content
keyword back to level 3, and instead defer thefit-content()
function to level 4.Sebastian
The text was updated successfully, but these errors were encountered: