Bug 338033 - No visible focus indicator on image map areas with black background r=roc
This commit is contained in:
@@ -1353,9 +1353,12 @@ nsImageFrame::PaintImage(nsRenderingContext& aRenderingContext, nsPoint aPt,
|
||||
nsImageMap* map = GetImageMap();
|
||||
if (nullptr != map) {
|
||||
aRenderingContext.PushState();
|
||||
aRenderingContext.Translate(inner.TopLeft());
|
||||
aRenderingContext.SetColor(NS_RGB(255, 255, 255));
|
||||
aRenderingContext.SetLineStyle(nsLineStyle_kSolid);
|
||||
map->Draw(this, aRenderingContext);
|
||||
aRenderingContext.SetColor(NS_RGB(0, 0, 0));
|
||||
aRenderingContext.SetLineStyle(nsLineStyle_kDotted);
|
||||
aRenderingContext.Translate(inner.TopLeft());
|
||||
map->Draw(this, aRenderingContext);
|
||||
aRenderingContext.PopState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user