printToPDF: landscape ignored if @page is used

This is very frustrating to find out via debugging, I think it should be in docs.
This commit is contained in:
Destan Sarpkaya 2017-01-09 02:31:34 +02:00 committed by GitHub
parent 0a7dccbad8
commit fb35f06114

View file

@ -896,6 +896,8 @@ settings.
The `callback` will be called with `callback(error, data)` on completion. The
`data` is a `Buffer` that contains the generated PDF data.
The `landscape` will be ignored if `@page` CSS at-rule is used in the web page.
By default, an empty `options` will be regarded as:
```javascript