Dev tools incorrectly claim text-decoration-color and text-emphasis-color are ignored on :visited
Categories
(DevTools :: Inspector: Rules, defect, P3)
Tracking
(firefox85 fixed)
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: me, Assigned: zacnomore)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0
Steps to reproduce:
Look at a visited link in the Inspector while having CSS like this:
:visited {
color: limegreen;
text-decoration-color: lime;
text-emphasis-color: seagreen;
}
Actual results:
The text-decoration-color and text-emphasis-color lines are greyed out, and you get an info icon at the end of the line with the tooltip “It’s impossible to override text-[decoration/emphasis]-color due to :visited restriction.”
Expected results:
Not that. Both of those properties work within :visited
.
Also: both were missing on https://developer.mozilla.org/en-US/docs/Web/CSS/:visited; I just added them there now. I was unable to find the canonical list of supported properties within a couple of minutes of search, but for this bug it would be worthwhile surfacing it and making sure the dev tools list matches it exactly (and if MDN is still incomplete, update it too).
Comment 1•4 years ago
|
||
Assigning "DevTools: CSS and Themes" component.
Comment 2•4 years ago
|
||
The priority flag is not set for this bug.
:ladybenko, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Pushed by rcaliman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4be345c82418 Correct :visited invalid property tooltip r=ladybenko,rcaliman
Comment 5•3 years ago
|
||
bugherder |
Description
•