Reviewed by Darin.
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Aug 2006 20:59:19 +0000 (20:59 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Aug 2006 20:59:19 +0000 (20:59 +0000)
commit92ce4c998d4e9b65f36113935086846893afeae7
treecc2b4f7a58bee46dbae4048ddd402ae99210cff0
parent47ce5a32cd38d5a9ef4c350328525ad85bda531a
    Reviewed by Darin.

        <rdar://problem/4077676> Inline hole line adheres to the Japanese characters in inline hole

        This happens because the underline is always 2 pixels thick, and placed 3 pixels above the bottom of the text box.

        Test case added:
        * manual-tests/inline-input-marking.html: Added.
        Check that underlining of the inline input hole does not obscure the glyphs.

        * rendering/InlineTextBox.cpp:
        (WebCore::InlineTextBox::paintMarkedTextUnderline):
        Position underline at bottom of text box.
        Height of underline is reduced to 1 px when font's descent is less than or equal to 2 px.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/manual-tests/inline-input-marking.html [new file with mode: 0644]
WebCore/rendering/InlineTextBox.cpp