mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Bug 1261578 - Part 4. Correct text overflow color; r=jfkthame
MozReview-Commit-ID: 2zbmsHxb6II --HG-- extra : rebase_source : ebdd4caffd9ef5e578880aa0cc325b5ad47decaf
This commit is contained in:
parent
51fa8b8e92
commit
ccf25559ce
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user