- From: Myles C. Maxfield via GitHub <sysbot+gh@w3.org>
- Date: Thu, 16 Sep 2021 23:22:19 +0000
- To: public-css-archive@w3.org
litherum has just created a new issue for https://github.com/w3c/csswg-drafts:
== [css-fonts] Can't get the palette name from CSSFontPaletteValuesRule ==
An example of `@font-palette-values` [looks like this](https://drafts.csswg.org/css-fonts/#font-palette-values):
```
@font-palette-values Cooler {
font-family: Bixa;
base-palette: 1;
override-color:
1 #7EB7E4;
}
```
The IDL [looks like this](https://drafts.csswg.org/css-fonts/#om-fontpalettevalues):
```
interface CSSFontPaletteValuesRule : CSSRule {
maplike<unsigned long, CSSOMString>;
attribute CSSOMString fontFamily;
attribute CSSOMString basePalette;
};
```
I don't see any way to get that ident `Cooler` from the IDL. Perhaps it needs something like this in addition:
```
attribute CSSOMString name;
```
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6625 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 16 September 2021 23:22:21 UTC