bug 288526: text content of an <object> in the <head> of a document is moved into the body, even though the <object> stays in the head. r=jst sr=bzbarsky a=asa

This commit is contained in:
mrbkap%gmail.com 2005-04-11 17:29:18 +00:00
parent 363d2ab3f4
commit a278870e27

View File

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