Re: [csswg-drafts] [cssom] The way CSSStyleDeclaration exposes properties is not ideal. (#5649)

> You'd make a `CSSFontFaceDescriptors` interface, containing the `@font-face` descriptors, and then change the `CSSFontFaceRule.style` attribute to be of that type (rather than `CSSStyleDeclaration`).

Note we probably want to make https://www.w3.org/TR/cssom/#dom-cssstyledeclaration-camel-cased-attribute, https://www.w3.org/TR/cssom/#dom-cssstyledeclaration-webkit_cased_attribute, https://www.w3.org/TR/cssom/#dom-cssstyledeclaration-dashed_attribute into their own section so each of the descriptor interfaces can reference it.

-- 
GitHub Notification of comment by gsnedders
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5649#issuecomment-1071130187 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 17 March 2022 17:33:50 UTC