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

So concretely:

- CSS Color 5 already has a [color-only `light-dark()`](https://drafts.csswg.org/css-color-5/#light-dark)
- CSS Images 4 does not have an image-only `light-dark()` but from [this resolution](https://github.com/w3c/csswg-drafts/issues/12513#issuecomment-4040713109), it will add it
- where does grammar go to say that you can have either two images or two colors, no other combination
- where does spec text go to say what happens if you try to mix them?

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


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

Received on Wednesday, 11 March 2026 19:58:36 UTC