Bug 1153694 - Don't let nsDisplayFixedPosition cause unnecessary layerization around itself. r=mattwoodrow
MozReview-Commit-ID: 66q3PkOdvTe
This commit is contained in:
@@ -4005,6 +4005,10 @@ ContainerState::ProcessDisplayItems(nsDisplayList* aList)
|
||||
mPaintedLayerDataTree.AddingOwnLayer(animatedGeometryRoot,
|
||||
clipPtr,
|
||||
uniformColorPtr);
|
||||
} else if (!clipMovesWithLayer) {
|
||||
mPaintedLayerDataTree.AddingOwnLayer(animatedGeometryRootForClip,
|
||||
clipPtr,
|
||||
uniformColorPtr);
|
||||
} else {
|
||||
// Using itemVisibleRect here isn't perfect. itemVisibleRect can be
|
||||
// larger or smaller than the potential bounds of item's contents in
|
||||
|
||||
Reference in New Issue
Block a user