Re: [csswg-drafts] [css-color-4] Concerns about color() function fallback (#5931)

I wonder how authors can check whether iccMAX profiles (or whatever new format is invented in 10 years) are supported, with a `@supports` or `@media` rule.

And one of the reasons for a color to be invalid is that the profile is still in the process of being loaded. From the specification:

> later colors acting as "fallback" if an earlier color can’t be displayed (for example, if the colorspace it specifies hasn’t been loaded yet).

So a small 'color glitch' is perfectly possible even if the profile loads correctly, but finishes after a first rendering attempt is made.

Legitimate-but-invalid colors are a real thing to be considered here, although the _iacvt_ behavior may be all that is needed (for the `var()` trick that I mentioned).

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


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

Received on Monday, 1 March 2021 13:18:07 UTC