Re: [csswg-drafts] [css-page-3] Add orientation descriptor (#4491)

> However, there are other legitimate use-cases that will remain even after such features appear in the future

Yup, I also agree that having the ability to dictate the relative rotation of the page content vs the margins is worthwhile in the future.  My ideal to achieve the use-case here is:

```css
table.big {
 page: big-table;
}
@page big-table {
 size: landscape;
 mismatched-orientation: rotate-out;
}
```

...which would be normal on screen, would show a landscape page in PDF (with @top on either the left or right), and would be printed on portrait paper such that the @top margin is on top, and the table is rotated in the "out" direction (right on right pages, left on left pages).

> How about `rotate: none | left | right`?

Maybe? Given how targeted this is at the PDF use-case, maybe `pdf-rotate`?

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

Received on Saturday, 29 February 2020 00:32:09 UTC