[Issue#] P130515-2070
[Problem] In Japanese IME, Underline is not matching the background rectangle
[Cause] Underline length is calculated wrongly
[Solution] Fixed the Calcualtion of Underline Width
Change-Id: If2d29dd811072ffd22038dc8bbd0254abffd5a2e
if (underline.thick && logicalHeight() - baseline >= 2)
lineThickness = 2;
+#if !ENABLE(TIZEN_WEBKIT2_SUPPORT_JAPANESE_IME)
// We need to have some space between underlines of subsequent clauses, because some input methods do not use different underline styles for those.
// We make each line shorter, which has a harmless side effect of shortening the first and last clauses, too.
start += 1;
width -= 2;
+#endif
+
ctx->setStrokeColor(underline.color, renderer()->style()->colorSpace());
ctx->setStrokeThickness(lineThickness);