Issue metadata
Sign in to add a comment
|
Margins of elements with physical unit not exact in print
Reported by
gregor.w...@gmail.com,
Nov 24 2016
|
||||||||||||||||||||||||
Issue description
Chrome Version : Google Chrome 54.0.2840.99 (Offizieller Build) m (64-Bit)
Other browsers tested: Yes
have tested this issue:
Firefox: OK - Firefox 50
Steps to reproduce the problem:
1. Create multiple elements div in simple html page with css fixed dimensions and consistent padding of 5mm with an absolute position,
example of box: <div class="box b1" style="width: 4mm; height: 5.5mm; top: 5mm; left: 5mm;"></div>
2. press Ctrl+p, choose you printer and Print page directly to the printer or save as PDF
3. After printing HTML page on paper, look at the margins between the boxes.
What is the expected result?
HTML element margins in the printed paper page or PDF page should all have the same size.
What happens instead?
Margins between the elements tend to change, sometimes 4px sometimes 5px.
Additional Information:
Possible cause could be rounding mistake based on the ppi of the monitor. On mac the effect is less obvious, because of higher ppi (109 ppi) of the screen.
Possible Connection to Issue 273306
,
Jan 23 2017
This issue looks similar to 273306 .. @robhogan-- Could you please look into this and confirm if we can dup this into #273306. Thanks!
,
Jan 24 2017
Yes this issue can be dumped into #273306
,
Jan 24 2017
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by ajha@chromium.org
, Nov 24 2016Labels: M-54