Don't allow <object> to be contained in <head> since the DTD can't really handle it. bug 329399, 328751, r=sicking sr=jst

This commit is contained in:
mrbkap%gmail.com 2006-03-07 21:47:25 +00:00
parent 3e83e21d9d
commit e7b77e829f

View File

@ -899,7 +899,7 @@ const nsHTMLElement gHTMLElements[] = {
/*req-parent excl-parent*/ eHTMLTag_unknown,eHTMLTag_unknown,
/*rootnodes,endrootnodes*/ &gRootTags,&gRootTags,
/*autoclose starttags and endtags*/ 0,0,0,0,
/*parent,incl,exclgroups*/ kSpecial|kHeadMisc, (kFlowEntity|kSelf), kNone,
/*parent,incl,exclgroups*/ kSpecial, (kFlowEntity|kSelf), kNone,
/*special props, prop-range*/ kNoStyleLeaksOut|kPreferBody,kDefaultPropRange,
/*special parents,kids,skip*/ 0,&gContainsParam,eHTMLTag_unknown,
/*contain-func*/ 0