From e5bd2cf3074ca1eded04875427ba53c53f834edf Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Wed, 7 Apr 1999 05:16:47 +0000 Subject: [PATCH] Added emebed as one the tags handled in CantRenderReplacedElement() git-svn-id: svn://10.0.0.236/trunk@26698 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsCSSFrameConstructor.cpp | 1 + mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index 943d7744f50..c8b2d600524 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -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 styleContext; diff --git a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp index 943d7744f50..c8b2d600524 100644 --- a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -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 styleContext;