2010-07-05 Adam Barth <abarth@webkit.org>
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Jul 2010 05:14:46 +0000 (05:14 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Jul 2010 05:14:46 +0000 (05:14 +0000)
commit01fcf5e924b786bcce82ee72cf5ce1815dd20d3a
treee46ee442c74d2c77a45122437883941129230cf3
parent8541bc81df2f43ab40485ba7fcf1cb992d07a032
2010-07-05  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Implement basic text node coalescing
        https://bugs.webkit.org/show_bug.cgi?id=41623

        * html5lib/resources/webkit01.dat:
            - This test had incorrect expected results according to the spec
              and to Minefield.
        * html5lib/runner-expected-html5.txt:
            - Update expected results to show test progression.  In some cases,
              we continue to fail tests, but in new (also wrong) ways.  I think
              that's ok though.
        * html5lib/runner-expected.txt:
            - Update expected results w.r.t. new webkit01.dat baseline.
        * html5lib/webkit-resumer-expected.txt:
            - Update expected results w.r.t. new webkit01.dat baseline.
2010-07-05  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Implement basic text node coalescing
        https://bugs.webkit.org/show_bug.cgi?id=41623

        This patch isn't the end-all, be-all of text node coalescing, but it's
        a good start.

        * dom/CharacterData.cpp:
        (WebCore::CharacterData::parserAppendData):
        (WebCore::CharacterData::appendData):
        * dom/CharacterData.h:
            - Added a new method to dance around mutation events.
        * html/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::insertTextNode):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@62520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/html5lib/resources/webkit01.dat
LayoutTests/html5lib/runner-expected-html5.txt
LayoutTests/html5lib/runner-expected.txt
LayoutTests/html5lib/webkit-resumer-expected.txt
WebCore/ChangeLog
WebCore/dom/CharacterData.cpp
WebCore/dom/CharacterData.h
WebCore/html/HTMLTreeBuilder.cpp