Open Bug 1439262 Opened 8 years ago Updated 3 years ago

Text find colours are reversed

Categories

(Core :: Graphics: Text, defect, P3)

58 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: ygoe, Unassigned)

Details

(Whiteboard: [gfx-noted])

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0 Build ID: 20180206200532 Steps to reproduce: Set these values in about:config: ui.textHighlightBackground = "yellow" ui.textHighlightForeground = "black" I don't like that magenta very much, but I could live with a yellow text marker. Actual results: Highlighted text find results on a page appear yellow on black. Expected results: They should appear as specified, which is black on yellow. Reversing the config values has the same effect. That time the behaviour matches configuration, but the configuration is undesired. Also, if I just specify the background of yellow and no foreground at all, the highlighted text appears white on yellow, which is unusable.
Component: Untriaged → Graphics: Text
Product: Firefox → Core
Hi Yves, Can you give a sample website to which this behavior would occur? I can't seem to reproduce the behavior.
Flags: needinfo?(nospam)
Happens everywhere. For example this website you're currently looking at (Bugzilla).
Flags: needinfo?(nospam)
Priority: -- → P3
Whiteboard: [gfx-noted]
The colours can sometimes be correct. For example if you search and highlight "javascript" on https://msgpack.org/ (a pretty ugly page) then you can see that the language list on the left is black on yellow whereas the text on the right side is yellow on black. Maybe this is because the left part is already inverted. But I don't care about that, I want the configured colours to be used properly.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.