mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 777260 - Respect LAYER_ACTIVE_FORCE in ChildrenCanBeInactive. r=roc
ChildrenCanBeInactive returns false if any child items have active layer states, but was only checking LAYER_ACTIVE and not LAYER_ACTIVE_FORCE.
This commit is contained in:
parent
130e72dcf7
commit
669a81223c
@ -2247,7 +2247,7 @@ bool nsDisplayWrapList::ChildrenCanBeInactive(nsDisplayListBuilder* aBuilder,
|
||||
}
|
||||
|
||||
LayerState state = i->GetLayerState(aBuilder, aManager, aParameters);
|
||||
if (state == LAYER_ACTIVE)
|
||||
if (state == LAYER_ACTIVE || state == LAYER_ACTIVE_FORCE)
|
||||
return false;
|
||||
if (state == LAYER_NONE) {
|
||||
nsDisplayList* list = i->GetList();
|
||||
|
Loading…
Reference in New Issue
Block a user