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

I'd like to know if it's possible to support mixed syntax like `light-dark(<color>, <image>)`. If not, I can imagine future CSS authors writing hacks like:

```css
background: light-dark(linear-gradient(red), url(foo.png))
```

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


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

Received on Thursday, 19 March 2026 13:05:26 UTC