[csswg-drafts] [css-fonts] issues with font-family descriptor in @font-palette-values rule

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

== [css-fonts] issues with font-family descriptor in @font-palette-values rule ==
The `@font-palette-values` rule has a `font-family` descriptor[1] that is supposed to associate it with a particular font ("This palette will only ever be applied to the font with this name").

However, this seems problematic to me, as `font-family` does not identify "a particular font" but a family that may contain an arbitrary number of faces; and (thanks to the magic of `unicode-range`) any given face might refer to an arbitrary number of font resources. Each of these may have its own palettes.

Therefore, when the `base-palette` descriptor[2] "specifies a palette in the font...", it is (AFAICS) not fully specified which font resource (and therefore which palette) is meant.

[1] https://www.w3.org/TR/2017/WD-css-fonts-4-20170711/#font-family-2-desc
[2] https://www.w3.org/TR/2017/WD-css-fonts-4-20170711/#base-palette-desc

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

Received on Tuesday, 1 August 2017 10:02:15 UTC