[csswg-drafts] [css-fonts] @font-palette-values rule has no object model

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

== [css-fonts] @font-palette-values rule has no object model ==
https://drafts.csswg.org/css-fonts-4/#font-palette-values

This rule needs an enumeration added, for example

```
partial interface CSSRule {
  const unsigned short FONT_PALETTE_VALUES_RULE = 15;
}
```

and a definition of the interface, something like:

```
interface CSSFontPaletteValuesRule : CSSRule {
  attribute CSSOMString fontFamily;
  attribute CSSOMString basePalette;
  attribute CSSOMRGBColor integer;
}
```
???? No idea how in WebIDL to declare an unbounded set of descriptors whose names are the set of integers. Would that be a map? 

Nor how to declare that it is `<color>` not just the DOM 2 CSS  RGBColor.

Also, those are really bad descriptor names, overly generic.


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

Received on Thursday, 27 July 2017 14:37:02 UTC