- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Fri, 14 Jan 2022 14:38:30 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-syntax-3] Clarify the grammar for parsing `@media` contents ==
I'm aware that *parse a stylesheet* and *parse a list of rules* are nearly identical:
- both consumes rules
- the former handle HTML comment open/close tokens and returns an object holding rules
- the latter only returns the rules
But I'm confused by the following:
> "Parse a list of rules" is intended for the content of at-rules such as `@media`.
https://drafts.csswg.org/css-syntax-3/#parser-entry-points
```
@media <media-query-list> {
<stylesheet>
}
```
https://drafts.csswg.org/css-conditional-3/#at-media
I think that the first quote is incorrect, and that `@keyframes` could replace `@media` in this quote,
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6953 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 14 January 2022 14:38:32 UTC