[csswg-drafts] [css-syntax-3] At-rules and qualified rules allow simple blocks in prelude (#5766)

SebastianZ has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-syntax-3] At-rules and qualified rules allow simple blocks in prelude ==
The Parsing section within the CSS Syntax 3 module defines that the prelude of at-rules and qualified rules contains a list of component values. And component values may contain a simple block.

That allows at-rules like `@name {} {}` and qualified rules like `{} {}`, causing ambiguities, as the {}-block might either belong to the component value of the current rule or be part of the next rule.

Therefore, an {}-block should not be allowed in the prelude of the rules.

Sebastian

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5766 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 6 December 2020 20:04:10 UTC