Added emebed as one the tags handled in CantRenderReplacedElement()

git-svn-id: svn://10.0.0.236/trunk@26698 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1999-04-07 05:16:47 +00:00
parent f1b1725fe8
commit e5bd2cf307
2 changed files with 2 additions and 0 deletions

View File

@@ -4568,6 +4568,7 @@ nsCSSFrameConstructor::CantRenderReplacedElement(nsIPresContext* aPresContext,
}
} else if ((nsHTMLAtoms::object == tag.get()) ||
(nsHTMLAtoms::embed == tag.get()) ||
(nsHTMLAtoms::applet == tag.get())) {
// It's an OBJECT element or APPLET, so we should display the contents instead
nsCOMPtr<nsIStyleContext> styleContext;

View File

@@ -4568,6 +4568,7 @@ nsCSSFrameConstructor::CantRenderReplacedElement(nsIPresContext* aPresContext,
}
} else if ((nsHTMLAtoms::object == tag.get()) ||
(nsHTMLAtoms::embed == tag.get()) ||
(nsHTMLAtoms::applet == tag.get())) {
// It's an OBJECT element or APPLET, so we should display the contents instead
nsCOMPtr<nsIStyleContext> styleContext;