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
Reported By: MichaelMoss
Waiting For:
Last Change By: KennethLavrsen
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

ItemTemplate edit

Summary Fix for horizontally compressed printing in Safari
ReportedBy MichaelMoss
Codebase 1.0.7
SVN Range Before Foswiki
AppliesTo Engine
Component PatternSkin print.css
Priority Normal
CurrentState Closed
Checkins distro:d05a3a64cd81 distro:113f736e15d7
TargetRelease patch
ReleasedIn 1.0.8
Topic revision: r5 - 29 Nov 2009, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy