Fixed a problem in ContentRemoved() where for fixed position frames the
wrong child list name was being used git-svn-id: svn://10.0.0.236/trunk@40962 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -4755,7 +4755,8 @@ nsCSSFrameConstructor::ContentRemoved(nsIPresContext* aPresContext,
|
||||
nsIFrame* parentFrame;
|
||||
childFrame->GetParent(&parentFrame);
|
||||
rv = parentFrame->RemoveFrame(*aPresContext, *shell,
|
||||
nsLayoutAtoms::absoluteList, childFrame);
|
||||
(NS_STYLE_POSITION_FIXED == position->mPosition) ?
|
||||
nsLayoutAtoms::fixedList : nsLayoutAtoms::absoluteList, childFrame);
|
||||
|
||||
// Now the placeholder frame
|
||||
if (nsnull != placeholderFrame) {
|
||||
|
||||
Reference in New Issue
Block a user