Allow most everything to live in a caption, just like a table cell

This commit is contained in:
kipp%netscape.com 1998-07-24 15:54:18 +00:00
parent b21a56a6c9
commit aa0ea3f84d
2 changed files with 2 additions and 2 deletions

View File

@ -1155,7 +1155,7 @@ PRBool CNavDTD::CanContain(PRInt32 aParent,PRInt32 aChild) {
result=PRBool(0!=strchr(gTagSet3,aChild)); break;
case eHTMLTag_caption:
result=PRBool(0!=strchr(gTagSet2,aChild)); break;
result=PRBool(0!=strchr(gTagSet1,aChild)); break;
case eHTMLTag_center:
result=PRBool(0!=strchr(gTagSet1,aChild)); break;

View File

@ -1155,7 +1155,7 @@ PRBool CNavDTD::CanContain(PRInt32 aParent,PRInt32 aChild) {
result=PRBool(0!=strchr(gTagSet3,aChild)); break;
case eHTMLTag_caption:
result=PRBool(0!=strchr(gTagSet2,aChild)); break;
result=PRBool(0!=strchr(gTagSet1,aChild)); break;
case eHTMLTag_center:
result=PRBool(0!=strchr(gTagSet1,aChild)); break;