- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Thu, 17 Sep 2020 13:18:12 +0000
- To: public-css-archive@w3.org
> > I wonder if it would be best to provide a media query or other type of conditional to check if a color space is available?
> Yes, the "in-gamut" MQ case is being discussed in #5045; I think it's a great idea.
It is a great idea, and is related to, but distinct from, finding whether a given color space exists.
For example, consider
```css
@color-profile --myHugeProfile {
src: url('https://example.org/Megabytes.icc');
}
.blue_sky {
background-color:
color(--myHugeProfile 0.572088 0.229346 0.081708 0.282044 0.000000 0.000000 0.168260);
}
```
This would be a conditional to see if I can use this colorspace or not (has it loaded yet).
--
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5046#issuecomment-694226440 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 17 September 2020 13:18:14 UTC