mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 819915 - Fix IsSingleFixedPositionImage to actually check if we only have a single image. r=roc
This commit is contained in:
parent
d93bbe8be4
commit
ccc6b9efe8
@ -1733,6 +1733,9 @@ nsDisplayBackgroundImage::IsSingleFixedPositionImage(nsDisplayListBuilder* aBuil
|
||||
if (mIsThemed || !mBackgroundStyle)
|
||||
return false;
|
||||
|
||||
if (mBackgroundStyle->mLayers.Length() != 1)
|
||||
return false;
|
||||
|
||||
nsPresContext* presContext = mFrame->PresContext();
|
||||
uint32_t flags = aBuilder->GetBackgroundPaintFlags();
|
||||
nsRect borderArea = nsRect(ToReferenceFrame(), mFrame->GetSize());
|
||||
|
Loading…
Reference in New Issue
Block a user