Open Bug 1920816 Opened 2 months ago Updated 8 days ago

Reimplement `auto` sizes as `fit-content` or `stretch`

Categories

(Core :: Layout, task)

task

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

(Depends on 2 open bugs)

Details

On a GitHub issue about stretch, IanK (@bfgeek) mentioned that Blink implements auto sizes by coercing them to either fit-content or stretch -- and in refactoring to this representation, they simplified their auto sizing behavior quite a bit:
https://github.com/w3c/csswg-drafts/issues/4028#issuecomment-2372348130
https://github.com/w3c/csswg-drafts/issues/4028#issuecomment-2372456956

Once we've got stretch implemented, we should consider doing a similar refactor.

Depends on: 1920634
You need to log in before you can comment on or make changes to this bug.