THEAD and TFOOT tags enabled

git-svn-id: svn://10.0.0.236/trunk@456 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
buster
1998-04-21 16:36:46 +00:00
parent 3c3218410b
commit 396106f433
3 changed files with 34 additions and 7 deletions

View File

@@ -617,6 +617,9 @@ PRBool HTMLContentSink::AddLeaf(const nsIParserNode& aNode)
switch (parentType) {
case eHTMLTag_table:
case eHTMLTag_tr:
case eHTMLTag_tbody:
case eHTMLTag_thead:
case eHTMLTag_tfoot:
// XXX Discard leaf content (those annoying \n's really) in
// table's or table rows
return PR_TRUE;