-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
[api-minor] Limit the maximum canvas width/height, in addition to its total area (bug 1943094) #19604
Conversation
9ef26e0
to
07718e8
Compare
07718e8
to
39191cb
Compare
39191cb
to
9dde310
Compare
… total area (bug 1943094) Browsers not only limit the maximum total canvas area, but additionally also limit their maximum width/height which affects PDF documents with e.g. very tall and narrow pages. To address this we add a new `maxCanvasDim` viewer-option, which in Firefox will use a browser preference, such that both the total canvas area and the width/height will affect when CSS-zooming is used.
9dde310
to
9f9de45
Compare
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/cc5a8afba5b6b7a/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/cc5a8afba5b6b7a/output.txt Total script time: 0.85 mins Published |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you.
/botio-linux integrationtest |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @Snuffleupagus received. Current queue size: 1 Live output at: http://54.241.84.105:8877/44d1c08b956899f/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/44d1c08b956899f/output.txt Total script time: 11.80 mins
|
Browsers not only limit the maximum total canvas area, but additionally also limit their maximum width/height which affects PDF documents with e.g. very tall and narrow pages.
To address this we add a new
maxCanvasDim
viewer-option, which in Firefox will use a browser preference, such that both the total canvas area and the width/height will affect when CSS-zooming is used.