Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set page size via @page + size #5857

Merged
merged 1 commit into from
May 14, 2015
Merged

Commits on Mar 23, 2015

  1. Set page size via @page + size

    In Blink-based browsers, there is a mismatch between document size and
    paper size. Even if exactly the same values and unit are used, it is
    possible that the printed results takes more pages than expected.
    
    To solve the issue, the page size is set via @page size, and the canvas
    and ancestor nodes are assigned a width+height of 100% (=relative to the
    page). This change resolves bugs such as blank pages and split pages.
    Rob--W committed Mar 23, 2015
    Configuration menu
    Copy the full SHA
    d34e6dd View commit details
    Browse the repository at this point in the history