Re: [csswg-drafts] [css-color-5] Support `light-dark(<color>, <image>)` by producing a dimensionless image for `<color>` (#13724)

The CSS Working Group just discussed ``[css-color-5] Support `light-dark(<color>, <image>)` by producing a dimensionless image for `<color>` ``, and agreed to the following:

* `RESOLVED: No change to this spec. Move image() other than image(<color>) to next level of css-images. Add image(<color>) to CSS Snapshot 2026 "safe to release" list`

<details><summary>The full IRC log of that discussion</summary>
&lt;emilio> lea: recently we resolved on a `light-dark(&lt;image>, &lt;image>)`<br>
&lt;TabAtkins> q+<br>
&lt;emilio> ... if you specify colors you get a color, if images you get an image<br>
&lt;emilio> ... having a parse time color-or-image is not possible<br>
&lt;emilio> ... but why not encode the workaround of wrapping the thing on a linear-gradient<br>
&lt;emilio> ... making the type of an argument depending on another seems better?<br>
&lt;emilio> s/better/weird<br>
&lt;emilio> ... but it's a bit of a philosophical argument<br>
&lt;emilio> ... `image()` would be an option but doesn't exist now<br>
&lt;astearns> ack TabAtkins<br>
&lt;emilio> ... so I propose to do the auto wrapping to match author expectations<br>
&lt;emilio> ... I wonder if it'd be better to do `light-dark-image()` since then it'd be very clear<br>
&lt;emilio> q+<br>
&lt;emilio> TabAtkins: I wrote some objections in the issue, I'd rather not do colors-as-image in random spots<br>
&lt;emilio> ... because we can't do that arbitrarily<br>
&lt;emilio> ... I'd much rather implement `image()`<br>
&lt;emilio> ... when possible I'd prefer not having an argument influence the other<br>
&lt;emilio> ... doesn't feel great from a language design perspective<br>
&lt;emilio> ... prefer no change<br>
&lt;emilio> ... leaning on image() or linear-gradient() to get solid images<br>
&lt;emilio> +1<br>
&lt;astearns> ack fantasai<br>
&lt;emilio> fantasai: I'm with tab on this one<br>
&lt;emilio> ... if we want to just `image(&lt;color>)` be L1 of that feature that seems fine as well<br>
&lt;emilio> emilio: I was going to make the same proposal<br>
&lt;lea> +1 to `image(&lt;color>)` as the MVP of `image()` (I'm surprised that's not the case already)<br>
&lt;kizu> +1 to start from a simple `image(&lt;color>)`<br>
&lt;astearns> ack emilio<br>
&lt;fantasai> emilio: Instead of linear-gradient() let's just simplify image() to &lt;color><br>
&lt;emilio> emilio: making `image(&lt;color>)` the MVP and extending later seems fine if people find it weird<br>
&lt;lea> PROPOSED: No change, `image(&lt;color>)` to be added to css-images-5 (?)<br>
&lt;fantasai> It's in L4 already<br>
&lt;ChrisL> https://drafts.csswg.org/css-images-4/#image-notation<br>
&lt;lea> PROPOSED: No change, `image()` to be moved to css-images-6,  `image()` in css-images-5 to be pared down to `image(&lt;color>)`<br>
&lt;fantasai> PROPOSED: No change to spec. Add image(&lt;color>) to the CSS Snapshot 2026<br>
&lt;lea> PROPOSED: No change, `image()` to be moved to css-images-5,  `image()` in css-images-4 to be pared down to `image(&lt;color>)`<br>
&lt;fantasai> PROPOSED: No change to spec. Add image(&lt;color>) to the CSS Snapshot 2026's "safe to release" exception list.<br>
&lt;fantasai> PROPOSED: No change to this spec. Move image() other than image(&lt;color>) to next level of css-images. Add image(&lt;color>) to CSS Snapshot 2026 "safe to release" list<br>
&lt;fantasai> RESOLVED: No change to this spec. Move image() other than image(&lt;color>) to next level of css-images. Add image(&lt;color>) to CSS Snapshot 2026 "safe to release" list<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13724#issuecomment-4166131432 using your GitHub account


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

Received on Tuesday, 31 March 2026 22:48:38 UTC