[csswg-drafts] [css-fonts-4] Clarify definition of `CSSFontFaceRule` (#8394)

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

== [css-fonts-4] Clarify definition of `CSSFontFaceRule` ==
I think this sentence is an oversight in [`CSSFontFaceRule` definition](https://drafts.csswg.org/css-fonts-4/#om-fontface):

  > The (now superseded) DOM Level 2 Style specification defined a different variant of this rule. This definition supersedes that one.

DOM Level 2 defines the exact same interface.

This [commit](https://github.com/SimonSapin/csswg-drafts/commit/e18ba0541e49cc7c5901682ce6fe59ed518af61b) defined `CSSFontFaceRule` descriptors as attributes with the above sentence. This [commit](https://github.com/w3c/csswg-drafts/commit/15de56bbca63f19259378d468b78db6b80b8ece5) removed the attributes but not the above sentence.

I do noy know how `CSSFontFaceRule.style` is supposed to work but this sentence could be replaced by an issue saying it is under consideration. 

I guess it depends on #5649 but more recent at-rules seem to have been defined with descriptors as attributes, whereas #5649 resolved on defining *different interfaces for declarations blocks that expose a different set of descriptors/properties*.

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


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

Received on Thursday, 2 February 2023 19:41:31 UTC