The slow codepaths for fixed background-attachment should only apply when there's a background image. b=258793 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@162195 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2490,7 +2490,7 @@ nsBoxFrame::CreateViewForFrame(nsPresContext* aPresContext,
|
||||
}
|
||||
|
||||
// See if the frame has a fixed background attachment
|
||||
if (hasBG && NS_STYLE_BG_ATTACHMENT_FIXED == bg->mBackgroundAttachment) {
|
||||
if (hasBG && bg->HasFixedBackground()) {
|
||||
aForce = PR_TRUE;
|
||||
fixedBackgroundAttachment = PR_TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user