Re: [csswg-drafts] [css-values-4] inherit() function: like var() for parent value, for any property (#2864)

Is there any reason to consider the following: instead of giving the declaration an initial or inherited value, if there is no fallback value, when IACVT, output that same value as the result of the function?

E.g.

```css
ui-smth-container:has(> ui-smth) {
   border-color: stripes(red, tan);
   > ui-smth:only-child {
      text-decoration-color:
         color-mix(in oklab,
            inherit(border-color),
            #0000)}} /* oklab(from currentColor l a b / a * .5) */
```

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


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

Received on Friday, 2 June 2023 23:19:36 UTC