Closed Bug 1623250 Opened 4 years ago Closed 3 years ago

Dev tools incorrectly claim text-decoration-color and text-emphasis-color are ignored on :visited

Categories

(DevTools :: Inspector: Rules, defect, P3)

76 Branch
defect

Tracking

(firefox85 fixed)

RESOLVED FIXED
85 Branch
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).

Assigning "DevTools: CSS and Themes" component.

Component: Untriaged → CSS and Themes
Product: Firefox → DevTools

The priority flag is not set for this bug.
:ladybenko, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(balbeza)
Flags: needinfo?(balbeza)
Priority: -- → P5
Assignee: nobody → cczac1
Severity: normal → S3
Component: CSS and Themes → Inspector: Rules
Priority: P5 → P3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Pushed by rcaliman@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4be345c82418
Correct :visited invalid property tooltip r=ladybenko,rcaliman
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: