- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Thu, 24 Mar 2022 00:05:15 +0000
- To: public-css-archive@w3.org
If in the parent the desired property computes to a length, then there's `inherit()` from #2864:
```html
<div style="width: 50vw">
<div style="width: 100%; max-height: calc(inherit(width) * 25 / 100);"></div>
</div>
```
Also see #6814, #1645, etc.
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7169#issuecomment-1076935228 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 24 March 2022 00:05:16 UTC