[go: nahoru, domu]

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-6] Specify how name-defining at-rules behave in @scope #8462

Merged
merged 2 commits into from
Feb 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[css-cascade-6] Specify how name-defining at-rules behave in @scope
Resolves #6895.
  • Loading branch information
andruud committed Feb 16, 2023
commit 5aca853f42e81fc27b9055d3fb233c1783b77a6a
6 changes: 6 additions & 0 deletions css-cascade-6/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,12 @@ Scoping Styles: the ''@scope'' rule</h4>
are [=scoped selectors|scoped by=]
the selectors of the outer one.

Global, name-defining [=at-rules=]
such as ''@keyframes'' or ''@font-face'' or ''@layer''
that are defined inside ''@scope'' are valid,
but are not scoped or otherwise affected
by the enclosing ''@scope'' rule.

<h4 id="scope-combinator">
Scoped Descendant Combinator</h4>

Expand Down