https://bugs.webkit.org/show_bug.cgi?id=49228
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Nov 2010 01:41:02 +0000 (01:41 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Nov 2010 01:41:02 +0000 (01:41 +0000)
commit2c05a34b6bd67af9b6c94d6d20e3bd54214d3c36
tree2a83f95d09891a3ed1f26f6c265ed419ac1092f1
parentaa4597e2c7da2a6fd077c25a31afd0f20b5cd3b6
https://bugs.webkit.org/show_bug.cgi?id=49228

Reviewed by Simon Fraser.

REGRESSION: caret too short when a positive line height is specified.  Now that lineTop no longer
accidentally incorporates the top leading, we need to use selectionTop/Bottom for the caret rect.

* rendering/RenderText.cpp:
(WebCore::RenderText::localCaretRect):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@71589 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/rendering/RenderText.cpp