Skip to content
  • eric@webkit.org's avatar
    2010-07-06 Eric Seidel <eric@webkit.org> · 114c4436
    eric@webkit.org authored
            Reviewed by Adam Barth.
    
            Add support for <li>, <dd> and <dt> nested tag closing
            https://bugs.webkit.org/show_bug.cgi?id=41720
    
            * html5lib/resources/webkit01.dat:
             - Add test for <dd><dt> since this wasn't well covered.
            * html5lib/runner-expected-html5.txt:
            * html5lib/runner-expected.txt:
    2010-07-06  Eric Seidel  <eric@webkit.org>
    
            Reviewed by Adam Barth.
    
            Add support for <li>, <dd> and <dt> nested tag closing
            https://bugs.webkit.org/show_bug.cgi?id=41720
    
            li, dd, and dt have nearly identical logic in HTML5, so I
            attempted to make them share as much code as possible.
    
            This fixes a bunch of subtests for html5lib/runner.html
    
            * html/HTMLTreeBuilder.cpp:
            (WebCore::HTMLTreeBuilder::processCloseWhenNestedTag):
            (WebCore::HTMLTreeBuilder::processStartTagForInBody):
            (WebCore::HTMLTreeBuilder::processAnyOtherEndTagForInBody):
            (WebCore::HTMLTreeBuilder::furthestBlockForFormattingElement):
            * html/HTMLTreeBuilder.h:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    114c4436