Skip to content

[css-backgrounds] <color> in <shadow> should default to currentcolor #2766

Description

@upsuper

Currently the spec says:

Specifies the color of the shadow. If the color is absent, the used color is taken from the color property.

It seems to behave like currentcolor nowadays, but it would have different behavior in terms of interpolating. I think we should probably make it default to currentcolor instead. I see no reason we need a separate no-color value case.

(It's not clear to me whether it should go to level 3 or 4.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions