Re: [csswg-drafts] [css-images-4] Add `light-dark-image()`, or generalize `light-dark()` for images too? (#12513)

>  (like say relative colors, where the origin color is a light-dark() that returns an image)

That would just be invalid, as a `light-dark()` containing images would resolve to an `<image>`, which isn't allowed in relative color syntax.

(But I do agree that I mildly prefer the separate name.)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12513#issuecomment-3104641297 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 22 July 2025 19:53:04 UTC