@page margin:0 with body width 100vw results in incorrect right margin in print preview
Categories
(Core :: Printing: Output, defect)
Tracking
()
People
(Reporter: tyteen4a03, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/118.0
Steps to reproduce:
Print this Codesandbox in full-screen mode in both Firefox 118 and Chrome 117: https://codesandbox.io/s/ff-print-margin-bug-2z249w
Most notably, the page has @page { margin: 0; } specified. The rest of the code is for making the problem appear (e.g. print-color-adjust).
Screenshots of the problem: https://imgur.com/a/6J1pHNi
Actual results:
There is a right margin.
Expected results:
There should be no right margin (i.e. what Chrome prints)
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Comment 1•1 year ago
|
||
Not sure how to edit the initial bug report but one detail I forgot to mention was it only happens when width:100vw;
. width:100%
does not have the right margin applied.
Comment 2•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Printing: Output' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•1 year ago
|
Description
•