KEMBAR78
[css-conditional] Nested at-rules within at-rule() · Issue #11117 · w3c/csswg-drafts · GitHub
Skip to content

[css-conditional] Nested at-rules within at-rule() #11117

@andruud

Description

@andruud

Some at-rules are only valid within a certain other at-rule, e.g. margin rules within @page, or @swash (etc) within @font-feature-values.

So, how do these evaluate?

@supports at-rule(@swash) {}
@supports at-rule(@top-left) {}

It seems unwise to just ignore context, since a given @foo may be specified to exist in more than one context, with different meanings (and possibly different descriptors being valid).

This was discussed during #2463, but I don't see a conclusion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Wednesday Morning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions