Re: [csswg-drafts] [cssom] [css-page] Define serialization of CSSPageRule (#9953)

What should come first - child margin rules, or the CSS property / descriptor declaration block ([CSSStyleDeclaration](https://drafts.csswg.org/cssom/#cssstyledeclaration))? I imagine that dumping the declaration block first is a slightly better choice. This may be how authors typically write it, as well, since the properties are inherited by the margin contexts, so that putting them first makes it more readable.

And is it fine to simply include the page-specific *descriptors* (```size``` and ```page-orientation```) in [CSSStyleDeclaration](https://drafts.csswg.org/cssom/#cssstyledeclaration), just as if they were regular properties in a way?

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


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

Received on Wednesday, 14 February 2024 09:44:21 UTC