- From: Guillaume via GitHub <sysbot+gh@w3.org>
- Date: Thu, 21 Dec 2023 20:20:47 +0000
- To: public-css-archive@w3.org
This is expected: `--font-body-medium-1` is computed in `:root` with its specified value for `--font-size-350`, not with the specified value in `.inner`. Maybe [this blog post](https://moderncss.dev/how-custom-property-values-are-computed/#inheritable-values-become-immutable) may help you if this is not clear. ```css :root { --color: red; --color-root: var(--color); } div { --color: green; color: var(--color-root); /* red */ background-color: var(--color); /* green */ } ``` -- GitHub Notification of comment by cdoublev Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9744#issuecomment-1866883359 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 21 December 2023 20:20:49 UTC