Skip to content

light-dark() now supports <image> values too #29767

@bramus

Description

@bramus

What type of issue is this?

Missing compatibility data

What information was incorrect, unhelpful, or incomplete?

The CSS light-dark() function has been extended to also accept two <image> values.

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

This feature is supported in both Chrome 150 and Firefox 150.

Did you test this? If so, how?

Manual check to find light-dark in css.types.image, which is not present. This in parallel to css.types.color.light-dark which is present.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

https://drafts.csswg.org/css-color-5/#light-dark

https://www.firefox.com/en-US/firefox/150.0/releasenotes/
https://chromestatus.com/feature/5123253146353664

Do you have anything more you want to share?

No response

MDN URL

No response

MDN metadata

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageThis issue needs to be confirmed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions