Skip to content

[css-color][css-images][css-ui] Allow light-dark(<image>, <image>) in cursor #13993

Description

@nt1m

light-dark(<image>, <image>) was added recently, but the current definition of cursor doesn't allow it. I don't see why we should not allow it, as long as the arguments both follow the restrictions from cursor.

The only ambiguous case is light-dark(none, url(...)) or light-dark(none, none). I've disallowed this for now in WebKit since it wouldn't roundtrip, but maybe that's not the right way to go. It might also be confusing given the meaning of cursor: none.

cc @tabatkins @LeaVerou @emilio

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