[csswg-drafts] [cssom] CSSMarginDescriptors interface is missing (#12152)

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

== [cssom] CSSMarginDescriptors interface is missing ==
Last year, @emilio worked on sorting out the style rule vs descriptor style issues in CSSOM by defining several subclasses for specific at-rules, in <https://github.com/w3c/csswg-drafts/commit/2e8c5020cffb6e0e3bd32d756ec08ed1b1968d02>.

The CSSMarginRule interface refers to a corresponding CSSMarginDescriptors class, but that doesn't appear in the spec. The CSSPageDescriptors class, referred to by CSSPageRule, does, so I presume this was just an oversight.

@emilio, want to fill that in? I'm not 100% sure what your criteria was for the descriptors, since CSSPageDescriptors lists some margin properties but not all the other properties allowed in @page that are shared with normal elements.

(This was very easy to miss, since CSSOM had approximately a jillion build errors. I'm fixing all of them now, before I make an edit myself.)

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


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

Received on Friday, 2 May 2025 17:41:16 UTC