зеркало из https://github.com/mozilla/pjs.git
Bug 701656 - Make WrapPreserve3DList capable of walking through child display items for the same frame. r=roc
This commit is contained in:
Родитель
4ce5eff108
Коммит
197e612195
|
@ -1598,7 +1598,7 @@ WrapPreserve3DListInternal(nsIFrame* aFrame, nsDisplayListBuilder *aBuilder, nsD
|
|||
// and then flush this list into newList by wrapping the whole lot with a single
|
||||
// nsDisplayTransform.
|
||||
|
||||
if (childFrame && childFrame->GetParent()->Preserves3DChildren()) {
|
||||
if (childFrame && (childFrame->GetParent()->Preserves3DChildren() || childFrame == aFrame)) {
|
||||
switch (item->GetType()) {
|
||||
case nsDisplayItem::TYPE_TRANSFORM: {
|
||||
if (!temp.IsEmpty()) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче