- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Thu, 18 May 2023 19:42:28 +0000
- To: public-css-archive@w3.org
Basically just if you're mixing with an existing set of CSS-defined names, have a strong reason to occupy the same namespace, and have a reasonable expectation that you either won't expand the set of CSS-defined names or that author-defined names are unlikely to clash with new CSS-defined ones. If *any* of these are false, you should probably be using `<dashed-ident>` imo. For example, @counter-style names are `<custom-ident>` so it's not immediately apparent from the name whether the counter style is language-defined or author-defined; we felt this was important both because it allowed us to retroactively define a bunch of built-in counter-styles using @counter-style, and to avoid overtly privileging some languages with a more blessed name just because we happened to predefine them. And we defined the name resolution rules such that author-defined styles would override almost any predefined ones (with the few that aren't overrideable explicitly disallowed for use), so adding more predefineds is unlikely to cause issues. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8850#issuecomment-1553557980 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 18 May 2023 19:42:30 UTC