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