[Title] Modify underline background color of Japanese IME Preedit
[Issue#] P130925-01944
[Problem] font is not displayed when both font color and underline background color are white
[Cause] both font color and underline background color are white
[Solution] change underline background color when both font color and underline background color are white
Change-Id: Ibf7908cfd0338f89ddcb79e7a6a084e2d8a308b0
if (!c.isValid())
return;
+ // For text visibility
+ Color textFillColor = style->visitedDependentColor(CSSPropertyWebkitTextFillColor);
+ if (c == Color::white && (textFillColor.isValid() && textFillColor == Color::white))
+ c = Color::lightGray;
+
updateGraphicsContext(context, c, c, 0, style->colorSpace()); // Don't draw text at all!
int deltaY = renderer()->style()->isFlippedLinesWritingMode() ? selectionBottom() - logicalBottom() : logicalTop() - selectionTop();