зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
91842d00ed
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче