mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
added autoclose to DT
This commit is contained in:
parent
4c192c61c0
commit
cb7c655b72
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user