W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2017

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Mon, 12 Jun 2017 20:12:03 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-235351435-1497298321-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:34 UTC