mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 722325 - Revert bug 720987 for transformed frames. r=roc
The fix checked in for bug 720987 caused a major rendering regression with native fennec. Revert it for transformed frames until the correct fix is found.
This commit is contained in:
parent
16a5bb5bd6
commit
35e729853f
@ -8021,7 +8021,17 @@ nsCSSFrameConstructor::ProcessRestyledFrames(nsStyleChangeList& aChangeList)
|
|||||||
}
|
}
|
||||||
if (hint & nsChangeHint_UpdateOverflow) {
|
if (hint & nsChangeHint_UpdateOverflow) {
|
||||||
while (frame) {
|
while (frame) {
|
||||||
|
nsOverflowAreas* pre = static_cast<nsOverflowAreas*>
|
||||||
|
(frame->Properties().Get(frame->PreTransformOverflowAreasProperty()));
|
||||||
|
if (pre) {
|
||||||
|
// FinishAndStoreOverflow will change the overflow areas passed in,
|
||||||
|
// so make a copy.
|
||||||
|
nsOverflowAreas overflowAreas = *pre;
|
||||||
|
frame->FinishAndStoreOverflow(overflowAreas, frame->GetSize());
|
||||||
|
} else {
|
||||||
frame->UpdateOverflow();
|
frame->UpdateOverflow();
|
||||||
|
}
|
||||||
|
|
||||||
nsIFrame* next =
|
nsIFrame* next =
|
||||||
nsLayoutUtils::GetNextContinuationOrSpecialSibling(frame);
|
nsLayoutUtils::GetNextContinuationOrSpecialSibling(frame);
|
||||||
// Update the ancestors' overflow after we have updated the overflow
|
// Update the ancestors' overflow after we have updated the overflow
|
||||||
|
Loading…
Reference in New Issue
Block a user