зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1178060 - Ensure that if there is a document-level apz-aware event listener on a subdocument, we build the nsDisplaySubdocument item to hold that information. r=tn
This commit is contained in:
Родитель
0fd5c563da
Коммит
26766c4f1e
|
@ -466,6 +466,11 @@ nsSubDocumentFrame::BuildDisplayList(nsDisplayListBuilder* aBuilder,
|
|||
{
|
||||
needsOwnLayer = true;
|
||||
}
|
||||
if (!needsOwnLayer && aBuilder->IsBuildingLayerEventRegions() &&
|
||||
nsLayoutUtils::HasDocumentLevelListenersForApzAwareEvents(presShell))
|
||||
{
|
||||
needsOwnLayer = true;
|
||||
}
|
||||
|
||||
nsDisplayList childItems;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче