-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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] Add a new PageViewport
-getter to access the original, un-scaled, viewport dimensions
#15797
[api-minor] Add a new PageViewport
-getter to access the original, un-scaled, viewport dimensions
#15797
Conversation
888a0f9
to
723b819
Compare
723b819
to
edadff7
Compare
…n-scaled, viewport dimensions While reviewing recent patches, I couldn't help but noticing that we now have a lot of call-sites that manually access the `PageViewport.viewBox`-property. Rather than repeating that verbatim all over the code-base, this patch adds a lazily computed and cached getter for this data instead.
edadff7
to
cafdc48
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/b3e97ded73f5799/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/cc952d22ccaa372/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/b3e97ded73f5799/output.txt Total script time: 25.49 mins
Image differences available at: http://54.241.84.105:8877/b3e97ded73f5799/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/cc952d22ccaa372/output.txt Total script time: 32.46 mins
Image differences available at: http://54.193.163.58:8877/cc952d22ccaa372/reftest-analyzer.html#web=eq.log |
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.
While reviewing recent patches, I couldn't help but noticing that we now have a lot of call-sites that manually access the
PageViewport.viewBox
-property.Rather than repeating that verbatim all over the code-base, this patch adds a lazily computed and cached getter for this data instead.