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

MozReview-Commit-ID: 2zbmsHxb6II

--HG--
extra : rebase_source : ebdd4caffd9ef5e578880aa0cc325b5ad47decaf
This commit is contained in:
CJKu 2016-04-19 17:10:17 +08:00
parent 51fa8b8e92
commit ccf25559ce

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,