Re: [csswg-drafts] [mediaqueries] In-gamut media query (#5045)

You had me rushing to the spec for this one! The fallback in color() is if the original color is _invalid_ -  which I understood to be (for example) if the ICC profile it refers to is missing. I don't think it's used if it's out of gamut. Is that the intention?

Presumably to test if (for example) P3 was in-gamut, you'd have to take representative samples across the entire colorspace, convert to XYZ and then convert back to the device colorspace to see if it's clipped?

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

Received on Tuesday, 5 May 2020 17:42:26 UTC