<rdar://problem/
3745808> Seed: WebKit: Table's caption broken
* khtml/html/htmlparser.cpp:
(KHTMLParser::insertNode): When a caption appears in an illegal
place in a table, pop blocks until we hit a place where it's
allowed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7158
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2004-07-29 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Darin.
+
+ <rdar://problem/3745808> Seed: WebKit: Table's caption broken
+
+ * khtml/html/htmlparser.cpp:
+ (KHTMLParser::insertNode): When a caption appears in an illegal
+ place in a table, pop blocks until we hit a place where it's
+ allowed.
+
=== Safari-154 ===
2004-07-29 Darin Adler <darin@apple.com>
case ID_TFOOT:
case ID_TBODY:
case ID_TR:
+ case ID_TD:
switch(id)
{
case ID_TABLE:
popBlock(ID_TABLE); // end the table
handled = true; // ...and start a new one
break;
+ case ID_CAPTION:
+ popBlock(current->id());
+ handled = true;
+ break;
case ID_TEXT:
{
TextImpl *t = static_cast<TextImpl *>(n);