WebCore:
2008-04-16 Darin Adler <darin@apple.com>
Reviewed by Mitz.
- fix <rdar://problem/5858617> REGRESSION (r21452-Safari 3.1):
Safari does not find words containing ß (German letter sharp-s)
Test: fast/text/find-case-folding.html
* platform/text/StringImpl.cpp:
(WebCore::StringImpl::foldCase):
Pass the folded length to foldCase rather than the original string length.
Without this, we get an error code every time.
LayoutTests:
2008-04-16 Darin Adler <darin@apple.com>
Earlier version reviewed by Mitz.
- test for <rdar://problem/5858617> REGRESSION (r21452-Safari 3.1):
Safari does not find words containing ß (German letter sharp-s)
* fast/text/find-case-folding-expected.txt: Added.
* fast/text/find-case-folding.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31977 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5 files changed