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

So just to ensure I'm understanding this right:

I have a paged document that's mostly portrait, but I've got a wide table on one page that is best displayed landscape. I set up my `@page` rules appropriately for this, so the table will break onto a `size: landscape;` page on its own.

When viewed as a PDF, every page flows vertically, as normal for English, and the headers and footers on every page agree with the flow of the content - on the portrait pages, `@top` is along the shorter edge; on the landscape pages, `@top` is along the longer edge.  

When printed, because the printer doesn't reorient the sheets of paper internally, they'll all be arranged portrait-style in the printed stack, and the landscape pages (both the content and the margin areas) will be "sideways", with the reader expected to turn the entire book to read those pages.

So this `orientation` descriptor can be used to force the PDF rendering to conform to that of the printed rendering, right? On all my landscape pages, I can set `orientation` to "rotate-left" or "rotate-right" depending on whether the page is `:left` or `:right`, and it'll render exactly as it would in the stack-of-paper.

That's the intended behavior?

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

Received on Tuesday, 25 February 2020 00:12:53 UTC