Bug 73547: Don't create child frames for an nsHTMLFrameOuterFrame, even via document.write. r=pavlov@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@91958 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
48a33f7396
commit
001d626e79
@ -8080,7 +8080,9 @@ nsCSSFrameConstructor::ContentAppended(nsIPresContext* aPresContext,
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
// Don't create child frames for iframes/frames, they should not
|
||||
// display any content that they contain.
|
||||
else if (nsLayoutAtoms::htmlFrameOuterFrame != frameType.get()) {
|
||||
// Construct a child frame (that does not have a table as parent)
|
||||
ConstructFrame(shell, aPresContext, state, childContent, parentFrame, frameItems);
|
||||
}
|
||||
|
||||
@ -8080,7 +8080,9 @@ nsCSSFrameConstructor::ContentAppended(nsIPresContext* aPresContext,
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
// Don't create child frames for iframes/frames, they should not
|
||||
// display any content that they contain.
|
||||
else if (nsLayoutAtoms::htmlFrameOuterFrame != frameType.get()) {
|
||||
// Construct a child frame (that does not have a table as parent)
|
||||
ConstructFrame(shell, aPresContext, state, childContent, parentFrame, frameItems);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user