Fix text break interators.
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Nov 2007 09:02:36 +0000 (09:02 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Nov 2007 09:02:36 +0000 (09:02 +0000)
commit10db53346d3aad9891f8d621c810602c64c4d20f
tree5dcf2c45ce8faa2d73fdb21fbcbe865c2224d086
parent3af63886d0f5d9a4afe670b7c1fc0dbd6bc93070
Fix text break interators.

The break iterators where trying to be smart about the input
string and caching their results. Unfortunately a pointer/string length
comparison is not good enough in all cases (since some input is stack based
temp strings). Removed the caching but at the same time started to use a more
efficient constructor of QTextBoundaryFinder that doesn't need to malloc for
most strings.

Fixes two test cases that test "text-transform: capitalize".

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/qt/css1/text_properties/text-transCapitalize-expected.txt
LayoutTests/platform/qt/fast/css/textCapitalizeEdgeCases-expected.txt
WebCore/ChangeLog
WebCore/platform/qt/TextBreakIteratorQt.cpp