Open Bug 1583427 Opened 5 years ago Updated 2 years ago

Support inactive CSS messages for color related properties in :visited rule

Categories

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

enhancement

Tracking

(Not tracked)

People

(Reporter: daisuke, Unassigned)

References

Details

This is a followup of bug 1581008.
In bug 1581008, we supported inactive CSS messages for properties that are impossible to override.
Furthermore, :visited rule has constraints for color-related properties as well.
https://developer.mozilla.org/en-US/docs/Web/CSS/Privacy_and_the_:visited_selector#Limits_to_visited_link_styles
In case that the value will be regulated by the constraint, the inactive CSS message may be helpful.
For example, if color: rgba(0, 255, 0, 0.5) is in :visited rule, rgb(0, 255, 0) can be inherited though, alpha 0.5 can't be inherited. That is some parts of value will be inactive, then the message may be helpful. However, because the inactive part is not all, we may need to change the UI a bit.

Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.