Closed
Description
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.