42429 - Enabling code that I'd to back out due to bug 52443.

Looks like the TABLE code is ready to face the change.

r=rickg
a=jst
This commit is contained in:
harishd%netscape.com 2000-09-19 22:13:53 +00:00
Родитель 0dcd7b7275
Коммит b343a2b4b8
2 изменённых файлов: 0 добавлений и 14 удалений

Просмотреть файл

@ -2312,12 +2312,6 @@ PRBool CNavDTD::CanContain(PRInt32 aParent,PRInt32 aChild) const {
}
#endif
#if 0
/* For the sake of bug 52443 I have back out my change in allowing
* newlines/whitespace inside TABLE,TR,TBODY,TFOOT,THEAD. Once
* the table code is ready to deal with whitespaces/newlines then
* the parser can pass it through... But for now...it's out!!!!
*/
if(!result) {
// Bug 42429 - Preserve whitespace inside TABLE,TR,TBODY,TFOOT,etc.,
if(gHTMLElements[aParent].HasSpecialProperty(kBadContentWatch)) {
@ -2326,7 +2320,6 @@ PRBool CNavDTD::CanContain(PRInt32 aParent,PRInt32 aChild) const {
}
}
}
#endif
return result;
}

Просмотреть файл

@ -2312,12 +2312,6 @@ PRBool CNavDTD::CanContain(PRInt32 aParent,PRInt32 aChild) const {
}
#endif
#if 0
/* For the sake of bug 52443 I have back out my change in allowing
* newlines/whitespace inside TABLE,TR,TBODY,TFOOT,THEAD. Once
* the table code is ready to deal with whitespaces/newlines then
* the parser can pass it through... But for now...it's out!!!!
*/
if(!result) {
// Bug 42429 - Preserve whitespace inside TABLE,TR,TBODY,TFOOT,etc.,
if(gHTMLElements[aParent].HasSpecialProperty(kBadContentWatch)) {
@ -2326,7 +2320,6 @@ PRBool CNavDTD::CanContain(PRInt32 aParent,PRInt32 aChild) const {
}
}
}
#endif
return result;
}