Print with the correct physical dimensions when specified
If you specify a div in cm, mm or a similar unit of physical measurement and
print it you don't get an element of the expected size on paper. This is due
to the scaling factor we use when resizing the page for printing.
The scaling factor of 1.25 was introduced by
https://trac.webkit.org/changeset/22945
and adopted in the Gtk port by
http://wkbug.com/15576. It seems to
be a magic number that was 'about right'. From trial and error 1.33 seems to be
the magic number that produces output with the correct physical size.
I don't know how to test this.
BUG=
273306
Committed:
https://crrev.com/a7fd168b96a0f6896b4a4e3d88921998e56f49c0
Cr-Commit-Position: refs/heads/master@{#384518}