зеркало из https://github.com/mozilla/gecko-dev.git
Bug 73547: Don't create child frames for an nsHTMLFrameOuterFrame, even via document.write. r=pavlov@netscape.com, sr=jst@netscape.com
This commit is contained in:
Родитель
20c8360306
Коммит
11c364d141
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче