Making applets and objects monolithic containers to fix problem in bug 108363 where not all params make it to the plugin. Patch by adu@sparc.spb.su r=peterl sr=attinasi a=roc+moz (and for last checkin too)

This commit is contained in:
peterlubczynski%netscape.com 2002-02-21 02:05:21 +00:00
parent 20e3322c53
commit 756fde99fb

View File

@ -4766,7 +4766,8 @@ HTMLContentSink::NotifyInsert(nsIContent* aContent,
PRBool
HTMLContentSink::IsMonolithicContainer(nsHTMLTag aTag)
{
if (eHTMLTag_tr == aTag || eHTMLTag_select == aTag) {
if (eHTMLTag_tr == aTag || eHTMLTag_select == aTag ||
eHTMLTag_applet == aTag || eHTMLTag_object == aTag) {
return PR_TRUE;
}
else {