← back to v150 · css-fit-content-function-for-sizing-properties
conformance · v150
v150 · css-fit-content-function-for-sizing-properties — conformance probe
6 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.
0
pass
0
fail
0
blocked
6
total
| id | contract | kind | verdict | detail |
|---|---|---|---|---|
fit-content-keyword-baseline |
width: fit-content keyword (sans argument) is supported as the existing baseline. | css-supports | … | |
fit-content-function-on-width |
width: fit-content(<length>) parses for sizing properties. spec ↗ | css-supports | … | |
fit-content-function-percentage |
fit-content(<percentage>) parses. | css-supports | … | |
fit-content-on-min-width |
fit-content() applies to min-width too. | css-supports | … | |
fit-content-on-flex-basis |
fit-content() is now valid on flex-basis per the spec text. | css-supports | … | |
fit-content-clamps-correctly |
A 1000px-wide child clamped by width: fit-content(200px) resolves narrower than 1000px (clamp clamps max-content). | script | … |