Closed Bug 1791455 Opened 2 years ago Closed 2 years ago

`border-color: currentColor` doesn't actually set the current color in HCM

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: itiel_yn8, Assigned: emilio)

Details

Attachments

(1 file)

Assume the following code:

border-bottom-color: currentColor;
color: SelectedItem;

In HCM the border wouldn't be colored as SelectedItem and it seems this should be honored in HCM.

I think it's fair to honor it, just like we honor system color keywords.

By definition if we're forcing colors currentColor can only be forced or
a system color.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/82b19c11b42f
Honor currentColor in HCM. r=morgan
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: