Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-sizing-3][css-sizing-4] Move fit-content keyword to Level 3 and fit-content() function to Level 4 #10601

Open
SebastianZ opened this issue Jul 19, 2024 · 0 comments
Labels

Comments

@SebastianZ
Copy link
Contributor

Back in 2017, it was resolved to defer the fit-content keyword level 4 of the Sizing spec. together with the stretch 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 to fit-content being equivalent to fit-content(stretch) (which is actually not allowed at the moment, because fit-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 on fit-content().

Therefore, I suggest to revert the resolution of #1912 and move the fit-content keyword back to level 3, and instead defer the fit-content() function to level 4.

Sebastian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant