Fix submitted by: Andrew Wellington <proton@wiretapped.net>
authorbdakin <bdakin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jul 2005 23:41:41 +0000 (23:41 +0000)
committerbdakin <bdakin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jul 2005 23:41:41 +0000 (23:41 +0000)
commit420764ce8af9aae3060f7e908e55481fb882ebcc
tree7cbe7ffe06ce71e9f5e858b6e3d2244605d50252
parent201f6ddce01fdad88c502882691a420ba17cb676
Fix submitted by: Andrew Wellington <proton@wiretapped.net>
        Reviewed by Beth Dakin.

This is a fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3406 and
<rdar://problem/3204011>. It does not solve all of the problems with
text-transform: capitalize, but it does fix some of the more notable
problems regarding apostrophes (like on amazon.com), and does not cause
any regressions (i.e., some things about text-transform are still wrong and some
of those things are wrong in different ways than they were wrong before, but
the patch does not seem to cause anything that was right to be newly
wrong.

        Test cases added: another text-transform test, see below

        * khtml/xml/dom_stringimpl.cpp: Here is the fix.
        (DOM::DOMStringImpl::capitalize):
        * layout-tests/css1/text_properties/text-transCapitalize-expected.txt: Added. New test case.
        * layout-tests/css1/text_properties/text-transCapitalize.html: Added. New test case.
        * layout-tests/css1/text_properties/text_transform-expected.txt: New expected results...
here are some instances where things were wrong before but are
wrong in new ways now.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/css1/text_properties/text-transCapitalize-expected.txt [new file with mode: 0644]
LayoutTests/css1/text_properties/text-transCapitalize.html [new file with mode: 0644]
LayoutTests/css1/text_properties/text_transform-expected.txt
WebCore/ChangeLog-2005-08-23
WebCore/khtml/xml/dom_stringimpl.cpp