Link color override ignored when color:highlight is used in css
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: camel.rd, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
189 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0
Steps to reproduce:
In settings -> manage colors
Override the colors specified by the page with your selections above = Always
changed Link colors to my prefered
Actual results:
mostly it works as expected unless in CSS color:highlight is used
for example github.com uses color:highlight for links
and links are colored dark blue instead of using colors defined in Settings -> Manage colors
Expected results:
all links should be colored using colors defined in Settings -> Manage colors with overrides enabled
color:highlight should not impact link coloring
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::CSS Parsing and Computation' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•2 years ago
|
||
Following the reporter's steps of with the attached test case, by:
- Launch the test case and observe link colors
- Go to Preferences - Manage Colors
- Set link colors to something non-default
- Set "Override the colors specified by the page with your selections above" to Always
- Observe link colors again
I can confirm that color: Highlight & color: MarkText links do not change in color on 118.
Both happen to be System Colors.
Updated•2 years ago
|
Comment 3•2 years ago
|
||
This is per spec. hcm respects all system colors (including Highlight).
You can fix this with a user stylesheet like a { color: LinkText !important; } a:active { color: ActiveText !important } a:visited { color: VisitedText !important }.
Description
•