w3c / w3c/csswg-drafts

[css-sizing] "behaves as auto" needs clarifications

Open Beginner friendly
#13,652 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css-sizing-3 css-sizing-4 Needs Design / Proposal Needs Example or Figure
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

https://drafts.csswg.org/css-sizing-3/#behave-as-auto

This section needs some wording tweaks to make it clearer that we're not equating this with computing to auto, and also the note should probably clarify that these uses are largely around sizing and don't affect margin collapsing (which should continue to check the computed style, testcase).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CSS Sizing Level 3 “behaves as auto” section linked in the issue, then review the linked margin-collapsing testcase. Clarify that the behavior is not equivalent to computing to auto, and explain that it applies mainly to sizing without changing margin-collapsing checks; the section and note should make both distinctions explicit.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.