From 1bb3ea37743d5251f35162840378ac16c31253e9 Mon Sep 17 00:00:00 2001 From: "harishd%netscape.com" Date: Tue, 19 Sep 2000 22:13:53 +0000 Subject: [PATCH] 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 git-svn-id: svn://10.0.0.236/trunk@79549 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/htmlparser/src/CNavDTD.cpp | 7 ------- mozilla/parser/htmlparser/src/CNavDTD.cpp | 7 ------- 2 files changed, 14 deletions(-) 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; }