Skip to content
  • eric@webkit.org's avatar
    2010-07-07 Eric Seidel <eric@webkit.org> · 8af76764
    eric@webkit.org authored
            Reviewed by Adam Barth.
    
            </div> pops too many <div> elements in body
            https://bugs.webkit.org/show_bug.cgi?id=41751
    
            * html5lib/runner-expected-html5.txt:
    2010-07-07  Eric Seidel  <eric@webkit.org>
    
            Reviewed by Adam Barth.
    
            </div> pops too many <div> elements in body
            https://bugs.webkit.org/show_bug.cgi?id=41751
    
            Another missing return!
    
            While tracking this down I added some debugging code to both the
            open elements stack and the active formatting elements list.
    
            I also unwrapped a very long || chain to make it more readable.
    
            * html/HTMLElementStack.cpp:
            (WebCore::HTMLElementStack::show):
            * html/HTMLElementStack.h:
            * html/HTMLFormattingElementList.cpp:
            (WebCore::HTMLFormattingElementList::show):
            * html/HTMLFormattingElementList.h:
            * html/HTMLTreeBuilder.cpp:
            (WebCore::HTMLTreeBuilder::processEndTagForInBody):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8af76764