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

Yeah, I would make @brandonmcconnell's argument in reverse: we are explicitly talking here about the value on the parent. In some cases, that value may have been inherited from farther up the DOM, and in some cases it might inherit on the element being styled -- but all that inheritance is beside the point. All we know for sure is that we want the value from the parent element. 

That also matches the value we would get from a style container query. And it side-steps any further complexity around inherited properties working different from non-inherited.

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


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

Received on Monday, 30 January 2023 22:01:25 UTC