- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Tue, 04 Mar 2025 02:38:56 +0000
- To: public-css-archive@w3.org
svgeesus has just labeled a pull request from cdoublev for https://github.com/w3c/csswg-drafts as "meta": == [*][editorial] Unquote delimiters in value definitions == This PR removes the quotes around `:` `/` `)` in value definitions. Since eab6ac4, the related text of [CSS V&U](https://drafts.csswg.org/css-values-4/#component-types) is: > 6. Delimiters, which represent their corresponding tokens. Slashes (`/`), commas (`,`), colons (`:`), semicolons (`;`), parentheses (`(` and `)`), and braces (`{` and `}`) are written literally. Other delimiters must be written enclosed in single quotes (such as `'+'`). In this paragraph, whether they *can* be or they *must* be written literally is ambiguous. None are tokenized as `<delim-token>` but as their own token, except `/`. They *are* delimiters, I think, and I guess these tokens only exist for convenience. But a "dumb" CSS value definition parser may interpret `')'` as a `<delim-token>` whose value is `)`, whereas such token cannot exist. This change would also be appreciated to have simpler implementation of such parsers. MediaQueries and Selectors both define a "general" functional notation: the former with `)`, the second with `')'`. See https://github.com/w3c/csswg-drafts/pull/11807 -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 4 March 2025 02:38:57 UTC