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

> you have to potentially retry N^2 times if you have nested variables each having fallbacks, and user agents were not keen on supporting this.

Well I only do that at the outermost (final) `var()`, and it is computationally very cheap.

It is natural to believe that, if the author put a single `var()` with a fallback in the declaration for the final property (not in the intermediate custom properties where one expects purely lexical-level behavior), he/she expects to see that fallback if the custom property's value becomes _iacvt_. And BTW the origin of my interpretation could be either that, or the fact that during most of the development my computer almost always hanged when I attempted to have the IDE and a browser (with e.g. the spec) opened simultaneously...

I won't miss that computer :)

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


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

Received on Wednesday, 3 March 2021 19:47:50 UTC