mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 777924 - Invalidate layers when transitioning out of flattening component alpha. r=roc
This commit is contained in:
parent
aece3ea32b
commit
7d4513adad
@ -1643,8 +1643,11 @@ PresShell::InitialReflow(nscoord aWidth, nscoord aHeight)
|
||||
}
|
||||
|
||||
for (nsIFrame* f = rootFrame; f; f = nsLayoutUtils::GetCrossDocParentFrame(f)) {
|
||||
if (f->GetStateBits() & NS_FRAME_NO_COMPONENT_ALPHA) {
|
||||
f->InvalidateFrameSubtree();
|
||||
f->RemoveStateBits(NS_FRAME_NO_COMPONENT_ALPHA);
|
||||
}
|
||||
}
|
||||
|
||||
Element *root = mDocument->GetRootElement();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user