Handle applet, object and embed tags

This commit is contained in:
kipp 1998-07-15 00:22:15 +00:00
parent 4e2e0f5153
commit 2edd02bae5
2 changed files with 24 additions and 0 deletions

View File

@ -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++;

View File

@ -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++;