Implement color() function from CSS colors level 4

NEW
Unassigned

Status

()

defect
5 years ago
Last year

People

(Reporter: ntim, Unassigned)

Tracking

(Blocks 2 bugs, {dev-doc-needed})

Firefox Tracking Flags

(Not tracked)

Details

()

The spec is probably too young, but this is really useful to have, especially the color adjustment functions that are really useful with CSS variables.

Spec : http://dev.w3.org/csswg/css-color-4/
Scoping this bug down to just the color() function, as we'll want to make individual decisions about different parts of the spec.
Summary: Implement CSS colors level 4 → Implement color() function from CSS colors level 4
Apparently WebKit recently added support for color() syntax, and it will probably available in STP 18, around the end of November.

https://twitter.com/grorgwork/status/796809159119253505
I can take a look at this color() functions. (I think Bug 1352754 is the same as this one.)
(In reply to Boris Chiou [:boris] from comment #3)
> I can take a look at this color() functions. (I think Bug 1352754 is the
> same as this one.)

But I need to finish stylo CSS transition first, so please feel free to take this before I start to work.
Duplicate of this bug: 1352754
Looks like the color-adjustment functionality of color() has been removed from the spec.  color() is now just for specifying colors in a particular color space.
You need to log in before you can comment on or make changes to this bug.