зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1243282 - Wrap items having clips with a separator. r=mattwoodrow
This commit is contained in:
Родитель
371b14248e
Коммит
94e1db456d
|
@ -2237,7 +2237,7 @@ nsIFrame::BuildDisplayListForStackingContext(nsDisplayListBuilder* aBuilder,
|
||||||
int index = 1;
|
int index = 1;
|
||||||
|
|
||||||
while (nsDisplayItem* item = resultList.RemoveBottom()) {
|
while (nsDisplayItem* item = resultList.RemoveBottom()) {
|
||||||
if (ItemParticipatesIn3DContext(this, item)) {
|
if (ItemParticipatesIn3DContext(this, item) && !item->GetClip().HasClip()) {
|
||||||
// The frame of this item participates the same 3D context.
|
// The frame of this item participates the same 3D context.
|
||||||
WrapSeparatorTransform(aBuilder, this, dirtyRect,
|
WrapSeparatorTransform(aBuilder, this, dirtyRect,
|
||||||
&nonparticipants, &participants, index++);
|
&nonparticipants, &participants, index++);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче