Skip to content

Wrong statement: "A value which is not specified is set to its initial value." #42514

@dbplunkett

Description

@dbplunkett

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Cascade/Shorthand_properties

What specific section or headline is this issue about?

#omitting_properties

What information was incorrect, unhelpful, or incomplete?

It says, "A value which is not specified is set to its initial value." However, there is at least one counter-example: The one-value syntax for flex that omits flex-basis (e.g. flex: 1;) sets flex-basis to 0, but the initial value for flex-basis is auto.

What did you expect to see?

It should say something like "A value which is not specified is set to a default value, which may or may not be the property's initial value."

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:CSSCascading Style Sheets docsneeds triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions