mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 383010 - Visual glitches while scrolling pages with position:fixed elements, patch by Stephen Moehle, r+sr=roc
This commit is contained in:
parent
7814c15a64
commit
fd69d8f1bf
@ -594,11 +594,12 @@ void nsScrollPortView::Scroll(nsView *aScrolledView, nsPoint aTwipsDelta, nsPoin
|
||||
biggestRect = *r;
|
||||
}
|
||||
}
|
||||
toScrollPtr = &toScroll;
|
||||
biggestRect.ScaleRoundIn(1.0/aP2A);
|
||||
toScroll = biggestRect;
|
||||
biggestRect *= aP2A;
|
||||
regionToScroll.Sub(regionToScroll, biggestRect);
|
||||
updateRegion.Or(updateRegion, regionToScroll);
|
||||
toScrollPtr = &toScroll;
|
||||
toScroll = biggestRect;
|
||||
toScroll.ScaleRoundOut(1.0/aP2A);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user