Issue metadata
Sign in to add a comment
|
[headless] Support setting the PDF page size from CSS, like print preview can |
||||||||||||||||||||||||
Issue descriptionSee attached HTML. It's CSS specifies a tiny page that's twice as tall as wide with no margins. When using Print Preview's "Save as PDF" the output "paper" will have this size. However when using headless / devtools printToPDF this is impossible. Some stuff is taken from the CSS, but ultimately the page size will always match paperWidth and paperHeight.
,
Sep 21 2017
This sounds like bug 724160...
,
Sep 21 2017
I replied on bug 724160. Thanks for attaching an example that does not blind my eyes. :) |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by zoeclifford@chromium.org
, Sep 19 2017