mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
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:
parent
3e83e21d9d
commit
e7b77e829f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user