- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Sat, 22 Jun 2024 08:04:33 +0000
- To: public-css-archive@w3.org
cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:
== [cssom-1][css-page-3] What descriptor does `CSSPageDescriptors.orientation` represents? ==
[`CSSPageDescriptors.orientation`](https://drafts.csswg.org/cssom-1/#dom-csspagedescriptors-orientation) was added in #10482:
> `@page{ orientation: ... }` Is generally treated the same as `@page{ size: ... }` [...]
In Chrome 126 and FF 127:
```js
const sheet = new CSSStyleSheet()
sheet.replaceSync('@page { orientation: portrait }')
sheet.cssRules[0].cssText; // @page { }
```
Is it intented to be an attribute for [`page-orientation`](https://drafts.csswg.org/css-page-3/#page-orientation-prop)? (#10105) If so, is it intentional that its name is not `pageOrientation`?
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10483 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 22 June 2024 08:04:34 UTC