W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2020

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

From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
Date: Sun, 06 Dec 2020 20:04:08 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-758010184-1607285047-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:23 UTC