WebCore:
authoradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Dec 2007 01:08:54 +0000 (01:08 +0000)
committeradele@apple.com <adele@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Dec 2007 01:08:54 +0000 (01:08 +0000)
commit4aba12794337ca2c695883ef2960323633e65f19
treeeec4e8e942044d1978234957817c6670f8c5e4ef
parent84e5a2b757f925bcfce4c95a1e6aae6c992797db
WebCore:

        Reviewed by Darin.

        Fix for <rdar://problem/5499918> REGRESSION: insertion point in input field with custom border cuts holes in focus ring interior edges

        * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::setStyle):
        Adjust outline-offset so it doesn't extend beyond the border to interfere with typing

LayoutTests:

        Reviewed by Darin.

        Test for <rdar://problem/5499918> REGRESSION: insertion point in input field with custom border cuts holes in focus ring interior edges

        * fast/forms/textfield-outline.html: Added.
        * platform/mac/fast/forms/textfield-outline-expected.checksum: Added.
        * platform/mac/fast/forms/textfield-outline-expected.png: Added.
        * platform/mac/fast/forms/textfield-outline-expected.txt: Added.

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