- From: Brian Birtles via GitHub <sysbot+gh@w3.org>
- Date: Mon, 12 Nov 2018 00:06:14 +0000
- To: public-css-archive@w3.org
@ericwilligers I think this PR is no longer correct. If I understand the resolution from #2435 correctly, we no longer want to allow `"initial"` as an animation-name, for example. >From what I understand, it sounds like the behavior we want is: 1. Accept `<string>` or `<custom-ident>` as we currently do. 2. If `<string>` is one of the CSS-wide keywords or `"default"` then it is invalid (at parse / variable-resolution time) as per the rules for custom-idents: https://www.w3.org/TR/css-values-3/#custom-idents 3. When serializing, if the value doesn't have [whitespace](https://www.w3.org/TR/css-syntax-3/#whitespace)(??) serialize without quotes (i.e. as `<custom-ident>`), otherwise serialize as `<string>`. I'm not sure what other cases require quotes or if there is machinery defining this somewhere else? (I looked in CSS Fonts 4 but didn't find anything there.) -- GitHub Notification of comment by birtles Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/3296#issuecomment-437718506 using your GitHub account
Received on Monday, 12 November 2018 00:06:15 UTC