Skip to content

@layer: unlayered styles now take priority #9656

Closed
@mirisuzanne

Description

@mirisuzanne

MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/@layer

What information was incorrect, unhelpful, or incomplete?

The CSSWG reversed an earlier decision, so it's no longer accurate that layered styles override unlayered styles. The default is now the opposite: unlayered styles take precedence.

Specific section or headline?

  • This is stated explicitly at the end of the "Syntax" section
  • It also means the first example is out of date
MDN Content 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