Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-cascade-5] page and view-transition at rules should cascade #9604

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

noamr
Copy link
Collaborator

@noamr noamr commented Nov 16, 2023

Mention that @view-transition and @page at-rules respect CSS layer when computing order/specificity.

Closes #9601

Other [=at-rules=] which rely on [=cascading=]
such as ''@page'' or ''@view-transition''
that are defined inside [=cascade layers=]
also use the layer order when determining order and [=specificity=].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specificity only applies to selectors. Maybe 'priority' or 'cascade priority' would make sense here? I'd defer to Elika on the best way to phrase this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[css-view-transitions-2] @view-transition resolution algorithm should cascade
2 participants