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

> Ah, I think I see, you're saying that if pfe-type is not a direct child of pfe-layout

Spot on!

> If you have a wrapper element inside of pfe-layout's shadow, then you can set --bg-color: parent(background-color); to grab the background-color from pfe-layout

Clever! Yes that would do it. 🥳


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


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

Received on Tuesday, 13 April 2021 00:29:43 UTC