Skip to content

[css-cascade] What is the migration path for Cascade Layers? #4985

@mirisuzanne

Description

@mirisuzanne

This is in relation to #4470 custom-origin proposal. To quote @frivoal in the transcript from our original discussion:

florian: One thing I'm a little concerned is how we figure out the syntax to have a migration path toward this from legacy CSS.
florian: In particular, a syntax ignorable by old browsers is bad because the cascade will be all mushed up; but making it hide rules from old browsers means they'll just miss a lot of code.
florian: Writing everything twice is bad, but not having an upgrade path is bad.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions