- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Tue, 16 Jul 2024 21:25:22 +0000
- To: public-css-archive@w3.org
> If you meant "add a second function that's just like light-dark() but for images", ... That was my idea, yes. A function with the same name but for images instead of a color. > ... at that point we might as well do the full thing. It's not meaningfully _harder_. Meaning giving it `var()`-like semantics, as you wrote earlier, I assume. If that's the case, then let's aim for the full thing. I just thought restricting it to just `<image>` values would make it easier to spec. and implement. > ... which isn't as good as a function with a proper type (like `light-dark()`, which is a `<color>`). Maybe not from a Typed OM point of view, though from pure CSS view it does, IMO. Sebastian -- GitHub Notification of comment by SebastianZ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10577#issuecomment-2231853362 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 16 July 2024 21:25:23 UTC