Re: [csswg-drafts] [css-values-4] Allow `inherit` in `calc()` (and friends), `color-mix()`, RCS (#9757)

Consider

```css
#el { --foo: 1 + 2 }
#el > * { --foo: calc(inherit * 2); z-index: var(--foo) }
```

should `z-index` be `(1 + 2) * 2 = 6` or `1 + 2 * 2 = 5`?

Also, it's not clear if you are proposing this just for custom properties (with the idea to extend it to all properties in the future), or if you want it for all properties now. I'm concerned about the same serialization inconsistencies from #2864.

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


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

Received on Saturday, 30 December 2023 17:45:30 UTC