node-html-pdf
node-html-pdf copied to clipboard
use phantomJS paperSize margin property in place of border
margin replaced border six years ago in phantomJS, although backward compatibility still allows the border property to function correctly.
This change updates html-pdf to use the margin property and to continue recognizing the border property for backward compatitiblity.
fixes: https://github.com/marcbachmann/node-html-pdf/issues/403 refs: https://github.com/ariya/phantomjs/commit/a638a0733992730f3bd6e2ea3d11b4ec960f51fb
@marcbachmann could this merged please?