зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1266380 - Don't try to untransform visible regions for inactive perspective layers. r=thinker
This commit is contained in:
Родитель
28d156be0f
Коммит
8a17b3e85d
|
@ -4052,7 +4052,8 @@ ContainerState::ProcessDisplayItems(nsDisplayList* aList)
|
|||
} else {
|
||||
bool useChildrenVisible =
|
||||
itemType == nsDisplayItem::TYPE_TRANSFORM &&
|
||||
item->Frame()->IsPreserve3DLeaf();
|
||||
(item->Frame()->IsPreserve3DLeaf() ||
|
||||
item->Frame()->HasPerspective());
|
||||
const nsIntRegion &visible = useChildrenVisible ?
|
||||
item->GetVisibleRectForChildren().ToOutsidePixels(mAppUnitsPerDevPixel):
|
||||
itemVisibleRect;
|
||||
|
|
Загрузка…
Ссылка в новой задаче