diff --git a/mozilla/htmlparser/src/CNavDTD.cpp b/mozilla/htmlparser/src/CNavDTD.cpp index 5f53b1df8f3..12c2bd4fa1a 100644 --- a/mozilla/htmlparser/src/CNavDTD.cpp +++ b/mozilla/htmlparser/src/CNavDTD.cpp @@ -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; } diff --git a/mozilla/parser/htmlparser/src/CNavDTD.cpp b/mozilla/parser/htmlparser/src/CNavDTD.cpp index 5f53b1df8f3..12c2bd4fa1a 100644 --- a/mozilla/parser/htmlparser/src/CNavDTD.cpp +++ b/mozilla/parser/htmlparser/src/CNavDTD.cpp @@ -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; }