Re: [csswg-drafts] [fonts-4] @font-palette-values uses illegal integer descriptor names

This seems like two separate issues to me:

1. Should we change Syntax to allow for integer descriptors?
2. Should the `@font-palette-values` descriptors be raw integers?

IMO, the answers are Yes and No respectively. Integer descriptors could prove useful in the future, so they should be allowed. However, in the large scheme of things, `@font-palette-values` is a relatively minor feature and we shouldn’t waste such a useful syntactic construct on it. I don’t see why we can’t prefix these properties with something like `color-`. It makes the rule easier to read and the verbosity doesn’t really get in the way, since this is not something authors will type again and again.

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1523#issuecomment-322761583 using your GitHub account

Received on Wednesday, 16 August 2017 12:55:26 UTC