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

tabatkins has just created a new issue for https://github.com/w3c/csswg-drafts:

== [fonts-4] @font-palette-values uses illegal integer descriptor names ==
As currently defined, `@font-palette-values` uses some integer descriptor names (to override the colors of particular indexes in the palette). However, [per Syntax](https://drafts.csswg.org/css-syntax/#consume-list-of-declarations), declaration names are restricted to idents only.

Do we want to change `@font-palette-values` to use idents, probably with a prefix before the integer, or do we want to modify Syntax to allow integer names for declarations?  (We shouldn't allow float names, as comparisons become fraught at that point.)

(For example, does `01: red;` work? Does it have the standard "last declaration with a given name wins" behavior if there's also a `1: blue` declaration in the block?)

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

Received on Monday, 12 June 2017 20:12:09 UTC