Re: [csswg-drafts] [css-color-5] What is the computed value of light-dark(none, none)? (#13866)

FWIW Firefox doesn't support none in `light-dark()` for this reason, and the discussion in https://github.com/w3c/csswg-drafts/issues/12513 and above seems to indicate it's not so trivial to consider `none` an image everywhere.

I think it's probably fine to require authors to specify a valid `<image>` if they need to. A transparent image is as easy as `linear-gradient(transparent)`. Is the `none` use case strong enough to require special syntax?

I'd rather do `image(none)` if we needed to, that'd be unambiguous.

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


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

Received on Tuesday, 5 May 2026 11:11:04 UTC