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

> Additionally, I noticed that both @emilio and @LeaVerou mentioned that light-dark() supports the none keyword, but the current syntax does not include it.

It's certainly not supposed to. `none` isn't an image. It's very intentional that that's not part of the grammar. (But a transparent image does the same thing.)

--------

@svgeesus Yeah that grammar approach looks good.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12513#issuecomment-4092448365 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 18:38:32 UTC