mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
fix bug 331430, new pop-up blocker shifts scrollbar down. also fixes bug 331913, highlighted text for a scrolling find is below viewport when popup blocker is open. sr=pink
This commit is contained in:
parent
91842d00ed
commit
e8ff515f5a
@ -257,7 +257,7 @@ static NSString* const kOfflineNotificationName = @"offlineModeChanged";
|
||||
NSRect browserFrame = [mBrowserView frame];
|
||||
browserFrame.origin.y = popupBlockFrame.size.height;
|
||||
browserFrame.size.width = bounds.size.width;
|
||||
browserFrame.size.height = bounds.size.height;
|
||||
browserFrame.size.height = bounds.size.height-popupBlockFrame.size.height;
|
||||
|
||||
popupBlockFrame.origin = NSZeroPoint;
|
||||
popupBlockFrame.size.width = bounds.size.width;
|
||||
|
Loading…
Reference in New Issue
Block a user