Full page screenshot of zoomed page creates picture of incorrect size
Categories
(Core :: Web Painting, defect)
Tracking
()
People
(Reporter: 7cf148fd, Unassigned)
Details
Attachments
(1 file)
|
113.71 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Firefox/78.0
Steps to reproduce:
Open browser on any web page (Windows or Mac is the same)
- Zoom in or out of a web page (say, zoom out to 50%)
- Use the screenshot functionality to take a full-page (important) screen shot
Actual results:
The saved picture has an incorrect size (already visible on preview).
A transparent border is added on the right-hand and bottom sides, equals to 1/Xth of the zoom level:
- if the zoom level was 50%, the picture is 1/0.5 = 2x the width and 2x the height
- if the zoom level was 67%, the picture is 1/0.67 = 1.5x the width and 1.5x the height
- if the zoom level was 200%, the picture is 1/0.5 = 0.5x the width and 0.5x the height
Expected results:
The screenshot shouldn't have that transparent margin.
Please note that I submitted the bug using a different browser but I observed the bug with v87, which is the latest as of the submission of this bug.
Comment 2•5 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 3•5 years ago
|
||
Not sure if the bug is in the web painting code or in the js code that implements the screenshot functionality.
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Thanks for reporting! The work for this is being completed in Bug 1699410.
Description
•