mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 11:13:29 +00:00
Handle applet, object and embed tags
This commit is contained in:
parent
4e2e0f5153
commit
2edd02bae5
@ -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++;
|
||||
|
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user