Closed Bug 795956 Opened 8 years ago Closed 4 years ago

[markup panel] Minimap preview has black on black text

Categories

(DevTools :: Inspector, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: vporof, Unassigned)

References

Details

Need to reuse the new light theme colors here as well.
Assignee: nobody → paul
Sadly, the light theme of the markup view makes the preview content barely visible (low contrast), and I don't see how we could fix this. See http://i.imgur.com/W3lJu.png

Not sure what should be done here…
Blocks: 789364
(In reply to Paul Rouget [:paul] from comment #1)
> Sadly, the light theme of the markup view makes the preview content barely
> visible (low contrast), and I don't see how we could fix this. See
> http://i.imgur.com/W3lJu.png
> 
> Not sure what should be done here…

I wonder if we can use an SVG filter to blur/darken???
(In reply to Joe Walker [:jwalker] from comment #2)
> I wonder if we can use an SVG filter to blur/darken???

Afaik, this will prevent the layers to be accelerated (SVG filters are not computed GPU side, so that means gecko will transfer texture to bitmaps. And this is bad).
Using image-rendering:crispy-edges doesn't help :/
Making the theme higher contrast is also an option.
Also, decreasing the line height of the markup would help. We shouldn't do that just to fix this bug, but I've thought before that it could be decreased slightly.
Assignee: paul → nobody
Have you considered using the 'View Page Source' color scheme?
(In reply to cheesypoof2020 from comment #7)
> Have you considered using the 'View Page Source' color scheme?

This won't help.
Component: Developer Tools → Developer Tools: Inspector
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Marking as invalid since the minimap no longer exists.
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.