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

[csswg-drafts] [css-syntax] <stylesheet> grammar construct should be named differently since it's not a "style sheet" (#5774)

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Wed, 09 Dec 2020 17:32:06 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-760527329-1607535124-sysbot+gh@w3.org>
jyasskin has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-syntax] <stylesheet> grammar construct should be named differently since it's not a "style sheet" ==
As discussed in https://github.com/w3c/csswg-drafts/issues/5697#issuecomment-736914928, "`@import` rules must precede all other valid at-rules and style rules in a ***style sheet***" ([[css-cascade]](https://drafts.csswg.org/css-cascade-5/#at-import)), but that's not the same "style sheet" as is spelled "`<stylesheet>`" and appears inside things like the [conditional at-rules](https://drafts.csswg.org/css-conditional-3/#at-supports). This isn't a terrible problem, but it's also a bit confusing.

@fantasai [suggested](https://github.com/w3c/csswg-drafts/issues/5697#issuecomment-741884022) the right fix is to rename [`<stylesheet>`](https://drafts.csswg.org/css-syntax-3/#typedef-stylesheet). The telecon discussion suggested to explicitly ask @tabatkins if they object.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 9 December 2020 17:32:08 UTC

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