Item2417: Fix for horizontally compressed printing in Safari
Priority: Normal
Current State: Closed
Released In: 1.0.8
Target Release: patch
Applies To: Engine
Component: PatternSkin print.css
Branches:
All Safari versions (including 4.04) have horizontally compressed pages when actually printing. Interesting that print with headers does get the right headers in the correct place, but page text thinks the paper is about 60% narrower than it actually is.
After some fooling around, the problem code was found in pub/System/PatternSkin/print.css at line 111 and is the .clear nest purportedly to fix a Firefox table bug. Removing the nest seen below
.clear {
clear:none; /* otherwise firefox cuts off tables */
}
fixes the problem and the later version of Firefox seem to not suffer based on very limited testing. I suppose the .clear could be included within a Firefox conditional test, but I just removed it. Now Safari prints great, and at a readable font size.
--
MichaelMoss
It appears that Firefox no longer cuts off tables, so I have removed the
.clear
definition altogether.
--
ArthurClemens - 25 Nov 2009