Open Bug 1925354 Opened 1 year ago Updated 7 months ago

[css-sizing] Intrinsic keywords (min-content/max-content/fit-content/...) in the block axis should be their automatic size (not behave as auto)

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

People

(Reporter: emilio, Unassigned)

References

(Blocks 1 open bug)

Details

See the edits in https://github.com/w3c/csswg-drafts/issues/3973, in particular things like:

https://drafts.csswg.org/css-sizing-3/#valdef-width-min-content:

Use the min-content size in the relevant axis; for a box’s block size, unless otherwise specified, this is equivalent to its automatic size.

We currently behave as auto, which is fine for the block-size property, but not for the min-/max-block-size properties, which should actually do something useful.

In particular this means making this return false for min-content / max-content / etc, and deal with it.

There are tests for this, see bug 1923406 and bug 1923927.

Summary: [css-sizing] Intrinsic keywords in the block axis should be their automatic size (not behave as auto) → [css-sizing] Intrinsic keywords (min-content/max-content/fit-content/...) in the block axis should be their automatic size (not behave as auto)
Duplicate of this bug: 1923406
Duplicate of this bug: 1923927
Blocks: 1972722
You need to log in before you can comment on or make changes to this bug.