- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Thu, 21 Mar 2024 19:52:25 +0000
- To: public-css-archive@w3.org
`CSSFontFaceDescriptors` attributes would be defined generically, like [`CSSStyleProperties` attributes](https://drafts.csswg.org/cssom-1/#dom-cssstyledeclaration-camel-cased-attribute).
> For each CSS descriptor `descriptor` that is a supported CSS descriptor accepted in `@font-face`, the following partial interface applies where `_camel_cased_attribute` is obtained by running the [CSS property to IDL attribute](https://drafts.csswg.org/cssom-1/#css-property-to-idl-attribute) algorithm for `descriptor`.
>
> ```
> partial interface CSSFontFaceDescriptors {
> attribute [LegacyNullToEmptyString] CSSOMString _camel_cased_attribute;
> };
> ```
And similarly for dashed attributes.
--
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10107#issuecomment-2013551469 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 21 March 2024 19:52:26 UTC