- fixed <rdar://problem/
3937667> REGRESSION (Mail): Zooming a window from titlebar button doesn't paint newly-exposed portions of window
* WebView.subproj/WebHTMLView.m: (-[WebHTMLView _recursiveDisplayAllDirtyWithLockFocus:visRect:]):
Re-set-up the visRect if the bounds changes due to layout.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8775
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-03-04 Darin Adler <darin@apple.com>
+
+ Reviewed by John.
+
+ - fixed <rdar://problem/3937667> REGRESSION (Mail): Zooming a window from titlebar button doesn't paint newly-exposed portions of window
+
+ * WebView.subproj/WebHTMLView.m: (-[WebHTMLView _recursiveDisplayAllDirtyWithLockFocus:visRect:]):
+ Re-set-up the visRect if the bounds changes due to layout.
+
=== Safari-402 ===
2005-03-03 Jens Alfke <jens@apple.com>
}
}
+ NSRect boundsBeforeLayout = [self bounds];
[self _web_layoutIfNeededRecursive: visRect testDirtyRect:NO];
+ // If layout changes the view's bounds, then we need to recompute the visRect.
+ // That's because the visRect passed to us was based on the bounds at the time
+ // we were called. This method is only displayed to draw "all", so it's safe
+ // to just call visibleRect to compute the entire rectangle.
+ if (!NSEqualRects(boundsBeforeLayout, [self bounds])) {
+ visRect = [self visibleRect];
+ }
+
[self _setAsideSubviews];
}