From 7101bd0043abfe8636938e86af048792761136bc Mon Sep 17 00:00:00 2001 From: "rickg%netscape.com" Date: Mon, 19 Jul 1999 06:21:52 +0000 Subject: [PATCH] fixed bug 9421 --- htmlparser/src/nsElementTable.cpp | 4 ++-- parser/htmlparser/src/nsElementTable.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htmlparser/src/nsElementTable.cpp b/htmlparser/src/nsElementTable.cpp index fa886db8958c..19a31c632683 100644 --- a/htmlparser/src/nsElementTable.cpp +++ b/htmlparser/src/nsElementTable.cpp @@ -851,7 +851,7 @@ nsHTMLElement gHTMLElements[] = { /*special parents,kids,skip*/ &gOptgroupParents,&gContainsOpts,eHTMLTag_unknown}, { /*tag*/ eHTMLTag_option, - /*requiredAncestor*/ eHTMLTag_form,eHTMLTag_unknown, + /*requiredAncestor*/ eHTMLTag_unknown,eHTMLTag_unknown, /*rootnodes,endrootnodes*/ &gOptgroupParents,&gOptgroupParents, /*autoclose starttags and endtags*/ 0,0,0, /*parent,incl,exclgroups*/ kNone, kPCDATA, kFlowEntity, @@ -931,7 +931,7 @@ nsHTMLElement gHTMLElements[] = { /*special parents,kids,skip*/ 0,&gContainsText,eHTMLTag_script}, { /*tag*/ eHTMLTag_select, - /*requiredAncestor*/ eHTMLTag_form, eHTMLTag_unknown, + /*requiredAncestor*/ eHTMLTag_unknown, eHTMLTag_unknown, /*rootnodes,endrootnodes*/ &gInForm,&gInForm, /*autoclose starttags and endtags*/ 0,0,0, /*parent,incl,exclgroups*/ kFormControl, kNone, kFlowEntity, diff --git a/parser/htmlparser/src/nsElementTable.cpp b/parser/htmlparser/src/nsElementTable.cpp index fa886db8958c..19a31c632683 100644 --- a/parser/htmlparser/src/nsElementTable.cpp +++ b/parser/htmlparser/src/nsElementTable.cpp @@ -851,7 +851,7 @@ nsHTMLElement gHTMLElements[] = { /*special parents,kids,skip*/ &gOptgroupParents,&gContainsOpts,eHTMLTag_unknown}, { /*tag*/ eHTMLTag_option, - /*requiredAncestor*/ eHTMLTag_form,eHTMLTag_unknown, + /*requiredAncestor*/ eHTMLTag_unknown,eHTMLTag_unknown, /*rootnodes,endrootnodes*/ &gOptgroupParents,&gOptgroupParents, /*autoclose starttags and endtags*/ 0,0,0, /*parent,incl,exclgroups*/ kNone, kPCDATA, kFlowEntity, @@ -931,7 +931,7 @@ nsHTMLElement gHTMLElements[] = { /*special parents,kids,skip*/ 0,&gContainsText,eHTMLTag_script}, { /*tag*/ eHTMLTag_select, - /*requiredAncestor*/ eHTMLTag_form, eHTMLTag_unknown, + /*requiredAncestor*/ eHTMLTag_unknown, eHTMLTag_unknown, /*rootnodes,endrootnodes*/ &gInForm,&gInForm, /*autoclose starttags and endtags*/ 0,0,0, /*parent,incl,exclgroups*/ kFormControl, kNone, kFlowEntity,