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

> since padding percentages are based off of the current element's size, and not the parent

No. Percentages refer to the inline size of the containing block (which is typically established by the parent, but not necessarily). See https://drafts.csswg.org/css-box-4/#propdef-padding

> Should I open a new issue to discuss that specifically?

I think you first need to figure out what you are actually trying to do, and then, if if your usecase would benefit from new functionality, open a new issue.

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


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

Received on Friday, 29 December 2023 20:39:42 UTC