[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
hyatt
hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:30:27 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 04288bce455f93f5cfa261f79ba10380ed28c5c5
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Mar 23 22:55:35 2004 +0000
Fix for 3513627, HTML mail prints upside down occasionally. Change printing so that it never resizes the
WebHTMLView when formatting for printing. When computing page rects, instead of using the view's bounds,
use the root layer's width instead.
Reviewed by darin
* WebView.subproj/WebHTMLView.m:
(-[WebHTMLView knowsPageRange:]):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index d1f6bda..9758afc 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,14 @@
+2004-03-23 David Hyatt <hyatt at apple.com>
+
+ Fix for 3513627, HTML mail prints upside down occasionally. Change printing so that it never resizes the
+ WebHTMLView when formatting for printing. When computing page rects, instead of using the view's bounds,
+ use the root layer's width instead.
+
+ Reviewed by darin
+
+ * WebView.subproj/WebHTMLView.m:
+ (-[WebHTMLView knowsPageRange:]):
+
=== Safari-133 ===
2004-03-17 David Hyatt <hyatt at apple.com>
diff --git a/WebKit/WebView.subproj/WebHTMLView.m b/WebKit/WebView.subproj/WebHTMLView.m
index 9441197..9c30b8d 100644
--- a/WebKit/WebView.subproj/WebHTMLView.m
+++ b/WebKit/WebView.subproj/WebHTMLView.m
@@ -1862,8 +1862,8 @@ static WebHTMLView *lastHitView = nil;
float totalScaleFactor = [self _scaleFactorForPrintOperation:printOperation];
float userScaleFactor = [printOperation _web_pageSetupScaleFactor];
[_private->pageRects release];
- _private->pageRects = [[[self _bridge] computePageRectsWithPrintWidth:NSWidth([self bounds])/userScaleFactor
- printHeight:[self _calculatePrintHeight]/totalScaleFactor] retain];
+ _private->pageRects = [[[self _bridge] computePageRectsWithPrintWidthScaleFactor:userScaleFactor
+ printHeight:[self _calculatePrintHeight]/totalScaleFactor] retain];
range->length = [_private->pageRects count];
return YES;
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list