Open Bug 1923053 Opened 1 year ago

[css-color] How do we handle relative colors (possibly unresolved) in forced color mode?

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

People

(Reporter: tlouw, Unassigned)

Details

We do a check here:

https://searchfox.org/mozilla-central/rev/b546e74055186bb387ed7db9079374e1e7e0b88e/servo/components/style/values/specified/color.rs#587

to allow transparent colors in forced_color_mode. What should we do if we have a relative color that might not be resolvable? For example if the origin color is currentColor, we might not know if the color is transparent or not.

You need to log in before you can comment on or make changes to this bug.