Skip to content

[css-logical] Clarify declarations order of all longhands #7984

@cdoublev

Description

@cdoublev

all longhand declarations must be inserted in canonical order with its physical longhands last (CSS Logical).

Unless otherwise specified, shorthand properties that encompass both logical and physical longhands (such as the all shorthand) set their physical longhands last.

In this sentence, I think last can be reasonably interpreted as:

  • after all longhands
  • or after all flow-relative (logical) longhands
  • or after all flow-relative longhands of the same logical property group

Which one is it?

Apart from this requirement, what is the canonical order of all longhands? Is it the lexicographic order?

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