Bug 1097464 - Part 5: Fix preserve3d wording for nsIFrame. r=roc

This commit is contained in:
Thinker K.F. Li
2015-09-17 03:31:00 +02:00
parent 0b12679603
commit 9e548da5a7
8 changed files with 50 additions and 49 deletions

View File

@@ -3943,7 +3943,8 @@ ContainerState::ProcessDisplayItems(nsDisplayList* aList)
// 3D-transformed layers don't necessarily draw in the order in which
// they're added to their parent container layer.
bool mayDrawOutOfOrder = itemType == nsDisplayItem::TYPE_TRANSFORM &&
(item->Frame()->Preserves3D() || item->Frame()->Preserves3DChildren());
(item->Frame()->Combines3DTransformWithAncestors() ||
item->Frame()->Extend3DContext());
// Let mPaintedLayerDataTree know about this item, so that
// FindPaintedLayerFor and FindOpaqueBackgroundColor are aware of this