-
eric@webkit.org authored
Reviewed by Adam Barth. "In cell" does not correctly handle <td><tr> or <td><td> https://bugs.webkit.org/show_bug.cgi?id=41729 * html5lib/resources/tables01.dat: - Added a case for <td><tr> since it was missing from the rest of the suite. * html5lib/runner-expected-html5.txt: * html5lib/runner-expected.txt: 2010-07-06 Eric Seidel <eric@webkit.org> Reviewed by Adam Barth. "In cell" does not correctly handle <td><tr> or <td><td> https://bugs.webkit.org/show_bug.cgi?id=41729 This change is mostly cleanup to try and prevent forgetting tag name checks in the future by using inlines to reduce copy/paste code. 3 little bugs in InCellMode: - Missing trTag from the long or statement (reason for the cleanup) - Used || instead of && - Forgot to reprocess the tag after closeTheCell() * html/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::processStartTagForInBody): (WebCore::HTMLTreeBuilder::processStartTagForInTable): (WebCore::HTMLTreeBuilder::processStartTag): (WebCore::HTMLTreeBuilder::processEndTagForInTable): (WebCore::HTMLTreeBuilder::processEndTag): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62613 268f45cc-cd09-0410-ab3c-d52691b4dbfc
35fc7250