- From: AlaskanEmily via GitHub <sysbot+gh@w3.org>
- Date: Fri, 08 Dec 2023 00:37:07 +0000
- To: public-css-archive@w3.org
AlaskanEmily has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-page3] [cssom] Descriptors and properties == Currently CSSOM specifies how properties are exposed on on `CSSStyleDeclarations`. Right now, Chrome and WebKit include a `size` property, reflecting the size "property" as here: https://drafts.csswg.org/css-page/#page-size-prop which can also be set on the `CSSStyleDeclarations` that is the `style` property of a `CSSPageRule`. However `size` isn't really a property in this sense, it behaves as a descriptor and is not valid as a property on the style of an element. Firefox does not allow it to be set on `CSSStyleDeclarations`, and it is only settable on the `style` of a `CSSPageRule` using `setProperty`. It makes some sense that `size` could be settable on the `style` value of a `CSSPageRule`, so perhaps the `style` property of `CSSPageRule` should be a new interface that inherits from `CSSStyleDeclarations` but adds `size` and possibly `page-orientation`. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9685 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 8 December 2023 00:37:09 UTC