Skip to content

docs(css): remove stale flex-basis 0% vs 0 warning on flex page - #44963

Merged
estelle merged 2 commits into
mdn:mainfrom
Ashish-CodeJourney:main
Jul 31, 2026
Merged

docs(css): remove stale flex-basis 0% vs 0 warning on flex page#44963
estelle merged 2 commits into
mdn:mainfrom
Ashish-CodeJourney:main

Conversation

@Ashish-CodeJourney

Copy link
Copy Markdown
Contributor

Description

Removes outdated warning on the flex shorthand page about browsers using flex-basis: 0% while the spec said 0. Updates the related shorthand-expansion prose to 0% throughout.

Motivation

CSSWG resolved (2026-07-29 meeting) to switch the omitted flex-basis value back to 0% for compat: https://www.w3.org/2026/07/29-css-minutes.html#eb5f. Spec and browsers now agree, so the discrepancy note is no longer accurate.

Additional details

  • CSSWG resolution: "Switch omitted flex-basis back to 0% for compat, add a note to the spec about it."

Related issues and pull requests

Fixes #44961

CSSWG resolved to keep omitted flex-basis at 0% for compat (fixes mdn#44961)
@Ashish-CodeJourney
Ashish-CodeJourney requested a review from a team as a code owner July 30, 2026 05:12
@Ashish-CodeJourney
Ashish-CodeJourney requested review from estelle and removed request for a team July 30, 2026 05:12
@github-actions github-actions Bot added Content:CSS Cascading Style Sheets docs size/s [PR only] 6-50 LoC changed labels Jul 30, 2026

@estelle estelle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🎉
just one suggestion.

Comment thread files/en-us/web/css/reference/properties/flex/index.md Outdated
Co-authored-by: Estelle Weyl <estelle@openwebdocs.org>
@Ashish-CodeJourney

Copy link
Copy Markdown
Contributor Author

Thanks! 🎉 just one suggestion.

Done

@estelle
estelle merged commit 28839be into mdn:main Jul 31, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSS flex property: remove flex basis 0% warning

3 participants