Closed Bug 1899295 Opened 6 months ago Closed 14 days ago

Using `light-dark()` in relative color syntax for base color isn't supported in Firefox (but is in Safari TP)

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: nchevobbe, Unassigned)

References

(Blocks 1 open bug)

Details

Steps to reproduce

  1. Go to data:text/html,<meta%20charset=utf8><style>&%20{%20color:%20rgb(from%20light-dark(red,blue)%20r%20g%20b);%20}</style>Hello

Expected results

Hello is red

Actual results

Hello is black


FWIW, this is supported in Safari TP, but not in Chrome.
Note that we might miss wpt test for relative color syntax + light-dark()

I guess this must be pretty new in Safari TP, too; it doesn't work there for me, but I'm not entirely up-to-date on this machine.

Severity: -- → S3
Status: NEW → RESOLVED
Closed: 14 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.