From 2edd02bae5fa07e5ebdeb4a11762ef1ef5cfd65d Mon Sep 17 00:00:00 2001 From: kipp Date: Wed, 15 Jul 1998 00:22:15 +0000 Subject: [PATCH] Handle applet, object and embed tags --- content/html/document/src/nsHTMLContentSink.cpp | 12 ++++++++++++ layout/html/document/src/nsHTMLContentSink.cpp | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/content/html/document/src/nsHTMLContentSink.cpp b/content/html/document/src/nsHTMLContentSink.cpp index 777044b4a55d..356464a98434 100644 --- a/content/html/document/src/nsHTMLContentSink.cpp +++ b/content/html/document/src/nsHTMLContentSink.cpp @@ -628,6 +628,18 @@ HTMLContentSink::OpenContainer(const nsIParserNode& aNode) } return 0; + case eHTMLTag_applet: + rv = NS_NewHTMLApplet(&container, atom); + break; + + case eHTMLTag_object: + rv = NS_NewHTMLEmbed(&container, atom); + break; + + case eHTMLTag_embed: + rv = NS_NewHTMLObject(&container, atom); + break; + case eHTMLTag_table: rv = NS_NewTablePart(&container, atom); mInMonolithicContainer++; diff --git a/layout/html/document/src/nsHTMLContentSink.cpp b/layout/html/document/src/nsHTMLContentSink.cpp index 777044b4a55d..356464a98434 100644 --- a/layout/html/document/src/nsHTMLContentSink.cpp +++ b/layout/html/document/src/nsHTMLContentSink.cpp @@ -628,6 +628,18 @@ HTMLContentSink::OpenContainer(const nsIParserNode& aNode) } return 0; + case eHTMLTag_applet: + rv = NS_NewHTMLApplet(&container, atom); + break; + + case eHTMLTag_object: + rv = NS_NewHTMLEmbed(&container, atom); + break; + + case eHTMLTag_embed: + rv = NS_NewHTMLObject(&container, atom); + break; + case eHTMLTag_table: rv = NS_NewTablePart(&container, atom); mInMonolithicContainer++;