mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-03 04:52:54 +00:00
tiny fix to allow form tag inside the table tag
This commit is contained in:
parent
88cc417a7b
commit
4de83d23a8
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user