Skip to content
  • eric@webkit.org's avatar
    2010-07-06 Eric Seidel <eric@webkit.org> · c9d32150
    eric@webkit.org authored
            Reviewed by Adam Barth.
    
            Implement bookmarking for HTML5 Adoption Agency algorithm
            https://bugs.webkit.org/show_bug.cgi?id=41659
    
            Added 3 new adoption tests because the suite didn't
            cover all the bookmarking cases.
    
            * html5lib/runner-expected-html5.txt:
             - Fixes tests!
            * html5lib/resources/adoption01.dat
    2010-07-06  Eric Seidel  <eric@webkit.org>
    
            Reviewed by Adam Barth.
    
            Implement bookmarking for HTML5 Adoption Agency algorithm
            https://bugs.webkit.org/show_bug.cgi?id=41659
    
            Was easier than I expected it to be.
            Fixes a bunch of html5lib/runner.html tests.
    
            * html/HTMLFormattingElementList.cpp:
            (WebCore::HTMLFormattingElementList::bookmarkFor):
            (WebCore::HTMLFormattingElementList::insertAt):
            * html/HTMLFormattingElementList.h:
            (WebCore::HTMLFormattingElementList::Bookmark::Bookmark):
            (WebCore::HTMLFormattingElementList::Bookmark::moveToAfter):
            (WebCore::HTMLFormattingElementList::Bookmark::elementBefore):
            (WebCore::HTMLFormattingElementList::Bookmark::elementAfter):
            * html/HTMLTreeBuilder.cpp:
            (WebCore::HTMLTreeBuilder::callTheAdoptionAgency):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@62537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c9d32150