зеркало из https://github.com/mozilla/pjs.git
added autoclose to DT
This commit is contained in:
Родитель
893b05e24d
Коммит
3fe950131c
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче