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

No mention of CSS Intrinsic & Extrinsic Sizing's fit-content(<length-percentage>) #4443

Closed
chearon opened this issue Aug 16, 2018 · 2 comments

Comments

@chearon
Copy link

chearon commented Aug 16, 2018

The intrinsic and extrinsic sizing data mentions fit-content as a value, but says nothing about fit-content(<length-percentage) as a value.

The latest draft from March 2018 dropped fit-content completely in favor of the function version. A draft from 2017 mentions both of them, and a draft from 2012 mentions just fit-content (non-function syntax).

Does anyone know anything about this or if browsers plan on supporting the function version? Will make a PR with this info if it seems right to do so.

@Schweinepriester
Copy link
Contributor

I believe the fit-content function is covered via MDN: https://caniuse.com/mdn-css_properties_width_fit-content_function

(Vs. the keyword https://caniuse.com/mdn-css_properties_width_fit-content or other uses https://caniuse.com/?search=fit-content)

Interestingly the Firefox Bug had some activity recently: https://bugzilla.mozilla.org/show_bug.cgi?id=1312588#c11

@chearon
Copy link
Author

chearon commented May 11, 2021

You're right, it can be closed now.

Looks like https://caniuse.com/mdn-css_properties_width_fit-content_function has some overlap with https://caniuse.com/intrinsic-width but the latter does not mention that Chrome has no support for fit-content().

@chearon chearon closed this as completed May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants