added autoclose to DT

git-svn-id: svn://10.0.0.236/trunk@12013 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1998-10-06 02:38:45 +00:00
parent fdcdb54326
commit 2ee25392b3
2 changed files with 2 additions and 2 deletions

View File

@@ -1536,7 +1536,7 @@ PRBool CNavDTD::CanContainIndirect(eHTMLTags aParent,eHTMLTags aChild) const {
* @return PR_TRUE if autoclosure should occur
*/
PRBool CNavDTD::RequiresAutomaticClosure(eHTMLTags aParentTag,eHTMLTags aChildTag) const {
static eHTMLTags gAutoCloseTags[]={eHTMLTag_li,eHTMLTag_td,eHTMLTag_tr};
static eHTMLTags gAutoCloseTags[]={eHTMLTag_li,eHTMLTag_td,eHTMLTag_tr,eHTMLTag_dt};
PRBool result=PR_FALSE;
PRInt32 theParentIndex=kNotFound;

View File

@@ -1536,7 +1536,7 @@ PRBool CNavDTD::CanContainIndirect(eHTMLTags aParent,eHTMLTags aChild) const {
* @return PR_TRUE if autoclosure should occur
*/
PRBool CNavDTD::RequiresAutomaticClosure(eHTMLTags aParentTag,eHTMLTags aChildTag) const {
static eHTMLTags gAutoCloseTags[]={eHTMLTag_li,eHTMLTag_td,eHTMLTag_tr};
static eHTMLTags gAutoCloseTags[]={eHTMLTag_li,eHTMLTag_td,eHTMLTag_tr,eHTMLTag_dt};
PRBool result=PR_FALSE;
PRInt32 theParentIndex=kNotFound;