Browse Source

Merge pull request #8365 from destan/patch-3

printToPDF: `landscape` ignored if `@page` is used
Zeke Sikelianos 8 years ago
parent
commit
ade16a7823
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docs/api/web-contents.md

+ 2 - 0
docs/api/web-contents.md

@@ -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