Overriding color for an anchor element is a default color for text when anchor has "color: inherit;" style
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: smitsyn, Unassigned)
Details
Attachments
(1 file)
557 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0
Steps to reproduce:
-
In settings, search for color, click on "Manage colors..." button, ensure that all colors are different. By default, text color is black and unvisited link color is blue.
-
Set "Override the color specified by the page..." to "Always"
-
Go back to settings; in "Website appearance" settings, use "Automatic" radio button.
-
Open the attached "color-inherit.html"
Actual results:
The second line is a link, but it is colored with default color for text (black) instead of default color for links (blue).
If a link (anchor element) has "color: inherit;" attribute, it's color is the default color for a text instead of a link.
Expected results:
In the attached file, the second line should be blue.
The same thing also persists with disabled color overriding, but looks like it works as intended and is consistent with Chrome. But if color overriding is turned on, all links should be default-colored irrespective of their color style.
This is somewhat important for me because I sometimes turn on and off color overriding, and it doesn't always work properly. There's even an addon for that ( https://addons.mozilla.org/ru/firefox/addon/toggleglobalcolors/ ), and might be many more; that's just what I use.
Comment 1•6 days 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•5 days ago
|
||
I get the same behaviour on both Chrome and Firefox - the second link is black coloured.
Reporter | ||
Comment 3•5 days ago
|
||
(In reply to Mayank Bansal from comment #2)
I get the same behaviour on both Chrome and Firefox - the second link is black coloured.
I meant only mode where bg, text and link colours are overridden to their default values. I'm sorry but couldn't find the feature in Chrome where you can override pages' colours - is there one? I mean without extensions.
Description
•