Re: [csswg-drafts] [css-box] Suggestion: Add "of <property>" syntax for percentage values of padding and margin properties (#6814)

> If the containing block refers to an element, `of <property>` should return the same as inherit() but refering to the containing block element and not the parent element.

What if you use `height: 50% of height` where the element establishing the containing block has a computed `height` of `75%` or `max-content`? What if the containing block rectangle is a grid area much smaller than the establishing grid container element?

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


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

Received on Wednesday, 17 November 2021 00:23:31 UTC