From e3e65b0d088e8067ca9b12461eabc92807b492c2 Mon Sep 17 00:00:00 2001 From: "mrbkap%gmail.com" Date: Mon, 11 Apr 2005 17:29:18 +0000 Subject: [PATCH] bug 288526: text content of an in the of a document is moved into the body, even though the stays in the head. r=jst sr=bzbarsky a=asa git-svn-id: svn://10.0.0.236/trunk@171984 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/parser/htmlparser/src/nsElementTable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/parser/htmlparser/src/nsElementTable.cpp b/mozilla/parser/htmlparser/src/nsElementTable.cpp index 5d9291921d8..e688b262bbf 100644 --- a/mozilla/parser/htmlparser/src/nsElementTable.cpp +++ b/mozilla/parser/htmlparser/src/nsElementTable.cpp @@ -905,7 +905,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*/ (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 parents,kids,skip*/ 0,&gContainsParam,eHTMLTag_unknown, /*contain-func*/ 0