tiny fix to allow form tag inside the table tag

This commit is contained in:
rickg%netscape.com 1998-11-06 21:41:59 +00:00
parent 88cc417a7b
commit 4de83d23a8
2 changed files with 6 additions and 4 deletions

View File

@ -1419,8 +1419,9 @@ PRBool CNavDTD::CanContain(PRInt32 aParent,PRInt32 aChild) const {
case eHTMLTag_table:
{
static eHTMLTags okTags[]={
eHTMLTag_caption, eHTMLTag_col, eHTMLTag_colgroup,eHTMLTag_tbody,
eHTMLTag_tfoot, /* eHTMLTag_tr,*/ eHTMLTag_thead, eHTMLTag_map};
eHTMLTag_caption, eHTMLTag_col, eHTMLTag_colgroup, eHTMLTag_form,
eHTMLTag_tbody, eHTMLTag_tfoot, /* eHTMLTag_tr,*/
eHTMLTag_thead, eHTMLTag_map};
result=FindTagInSet(aChild,okTags,sizeof(okTags)/sizeof(eHTMLTag_unknown));
}
break;

View File

@ -1419,8 +1419,9 @@ PRBool CNavDTD::CanContain(PRInt32 aParent,PRInt32 aChild) const {
case eHTMLTag_table:
{
static eHTMLTags okTags[]={
eHTMLTag_caption, eHTMLTag_col, eHTMLTag_colgroup,eHTMLTag_tbody,
eHTMLTag_tfoot, /* eHTMLTag_tr,*/ eHTMLTag_thead, eHTMLTag_map};
eHTMLTag_caption, eHTMLTag_col, eHTMLTag_colgroup, eHTMLTag_form,
eHTMLTag_tbody, eHTMLTag_tfoot, /* eHTMLTag_tr,*/
eHTMLTag_thead, eHTMLTag_map};
result=FindTagInSet(aChild,okTags,sizeof(okTags)/sizeof(eHTMLTag_unknown));
}
break;