Bug 667576. Handle visited colors correctly in MathML. r=dbaron
This commit is contained in:
@@ -516,7 +516,7 @@ void nsDisplayMathMLBar::Paint(nsDisplayListBuilder* aBuilder,
|
||||
nsRenderingContext* aCtx)
|
||||
{
|
||||
// paint the bar with the current text color
|
||||
aCtx->SetColor(mFrame->GetStyleColor()->mColor);
|
||||
aCtx->SetColor(mFrame->GetVisitedDependentColor(eCSSProperty_color));
|
||||
aCtx->FillRect(mRect + ToReferenceFrame());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user