When printing a page the zoom level (Ctrl +/-) is currently being taken into account. This seems incorrect and does not match the behavior of IE, FireFox or Opera. Please note that CSS zoom, unlike full page zoom, _should_ be respected for printing. Downstream chromium bug report: http://code.google.com/p/chromium/issues/detail?id=59692
Created attachment 129137 [details] Patch
Created attachment 129157 [details] Patch for landing
The commit-queue encountered the following flaky tests while processing attachment 129157 [details]: compositing/reflections/nested-reflection-transformed2.html bug 79743 (author: simon.fraser@apple.com) The commit-queue is continuing to process your patch.
Comment on attachment 129157 [details] Patch for landing Clearing flags on attachment: 129157 Committed r109073: <http://trac.webkit.org/changeset/109073>
All reviewed patches have been landed. Closing bug.
The new test fails on Qt: --- /ramdisk/qt-linux-64-release/build/layout-test-results/printing/zoomed-document-expected.txt +++ /ramdisk/qt-linux-64-release/build/layout-test-results/printing/zoomed-document-actual.txt @@ -1,1 +1,11 @@ -PASS Document zoom should not apply when printing. +FAIL Document zoom should not apply when printing.Got 2 pages, expected 1. +Got 2 pages, expected 1. +Got 2 pages, expected 1. +Got 2 pages, expected 1. +Got 2 pages, expected 1. +Got 2 pages, expected 1. +Got 2 pages, expected 1. +Got 2 pages, expected 1. +Got 2 pages, expected 1. +Got 2 pages, expected 1. +
(In reply to comment #6) > The new test fails on Qt: > --- /ramdisk/qt-linux-64-release/build/layout-test-results/printing/zoomed-document-expected.txt > +++ /ramdisk/qt-linux-64-release/build/layout-test-results/printing/zoomed-document-actual.txt > @@ -1,1 +1,11 @@ > -PASS Document zoom should not apply when printing. > +FAIL Document zoom should not apply when printing.Got 2 pages, expected 1. > +Got 2 pages, expected 1. > +Got 2 pages, expected 1. > +Got 2 pages, expected 1. > +Got 2 pages, expected 1. > +Got 2 pages, expected 1. > +Got 2 pages, expected 1. > +Got 2 pages, expected 1. > +Got 2 pages, expected 1. > +Got 2 pages, expected 1. > + I skipped it to paint the Qt bot green - http://trac.webkit.org/changeset/109079
(In reply to comment #7) > I skipped it to paint the Qt bot green - http://trac.webkit.org/changeset/109079 Thanks, I'll update it to work on QT.