зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
c92f2f7540
Коммит
ec48322827
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче