8000 [cssom] Define "canonical order". · Issue #5741 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[cssom] Define "canonical order". #5741

@emilio

Description

@emilio

CSSOM makes references to "canonical order" in a bunch of places to refer to the order in which a shorthand expands to their longhands.

For example, for:

flex: 0; flex-grow: inherit;

Browsers serialize it as:

flex-shrink: 1; flex-basis: 0%; flex-grow: inherit;

which means that "flex" expands "flex-shrink" before "flex-basis". I don't think that's defined anywhere, and it probably should.

cc @fantasai @tabatkins

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0