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

I find that removing the fallback mechanism makes things cumbersome as an author. Using variables as a fallback mechanism is an inconvenient hack, and I don't think features should rely on that as their solution for potentially-invalid values.

What is the implementation complexity of the fallback? Would that complexity drop if the fallback was a single item rather than a list? Or is the difficulty determining if a color is in gamut or not? Would it help to just implement a fallback for unsupported color spaces, but not validate if the colors are in gamut? I think it would help us if you could describe what is the complexity you perceive, so that we can make a cost/benefit analysis on our side as well :)

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


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

Received on Tuesday, 2 March 2021 12:30:51 UTC