WebCore:
authorbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Feb 2008 23:26:47 +0000 (23:26 +0000)
committerbdakin@apple.com <bdakin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Feb 2008 23:26:47 +0000 (23:26 +0000)
commitf6fa0624fbd13d0700d0691bcbdc95b3bcd2ec3b
treea4c36cd3401d18e007e445d09a061805ba5e2b74
parent5f15ff524931fb6b64e933d3ed75176b58cd6098
WebCore:

        Reviewed by Sam.

        Fix for <rdar://problem/5729674> Seed: Crash in
        RenderButton::setStyle at http://www.dinorpg.com

        Inputs should not honor first-letter.

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::updateFirstLetter):

LayoutTests:

        Reviewed by Sam.

        Test for <rdar://problem/5729674> Seed: Crash in
        RenderButton::setStyle at http://www.dinorpg.com

        * fast/forms/input-first-letter.html: Added.
        * platform/mac/fast/forms/input-first-letter-expected.checksum: Added.
        * platform/mac/fast/forms/input-first-letter-expected.png: Added.
        * platform/mac/fast/forms/input-first-letter-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30414 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/forms/input-first-letter.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/forms/input-first-letter-expected.checksum [new file with mode: 0644]
LayoutTests/platform/mac/fast/forms/input-first-letter-expected.png [new file with mode: 0644]
LayoutTests/platform/mac/fast/forms/input-first-letter-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderBlock.cpp