Bug 1261578 - Part 4. Correct text overflow color; r=jfkthame

MozReview-Commit-ID: 2zbmsHxb6II
This commit is contained in:
CJKu
2016-04-19 17:10:17 +08:00
parent d4780a7593
commit 6ca47dcbe2

View File

@@ -214,8 +214,8 @@ void
nsDisplayTextOverflowMarker::Paint(nsDisplayListBuilder* aBuilder,
nsRenderingContext* aCtx)
{
nscolor foregroundColor =
nsLayoutUtils::GetColor(mFrame, eCSSProperty_color);
nsCSSProperty colorProp = mFrame->StyleContext()->GetTextFillColorProp();
nscolor foregroundColor = nsLayoutUtils::GetColor(mFrame, colorProp);
// Paint the text-shadows for the overflow marker
nsLayoutUtils::PaintTextShadow(mFrame, aCtx, mRect, mVisibleRect,