Set caret height to object height
authorKyungtae Kim <ktf.kim@samsung.com>
Tue, 21 May 2013 00:47:16 +0000 (09:47 +0900)
committerKyungTae Kim <ktf.kim@samsung.com>
Wed, 22 May 2013 04:41:56 +0000 (13:41 +0900)
commitaaaca8473a1f2990af4a1b0e414f6e8a5994f88c
treeaf71e9d49fc80cc1226a02bddc35384e78ab6e85
parentd6d712fc525b4b002bf382986f4212c108544a1c
Set caret height to object height

[Title] Set caret height to object height
[Issue] P130508-1708
[Problem] When put a image and text on a same line in a object with "contenteditable", the caret is too big.
[Cause] The caret height is set to the selectionHeight to follow Mac port's operation
[Solution] Set caret height to object height - it's more reasonable on Linux ports.

Change-Id: Ibfc150f69b7673d4260f141ec0da9d613a644633
Source/WTF/wtf/Platform.h
Source/WebCore/rendering/RenderText.cpp