Re: [csswg-drafts] [css-variables] Should `var(var(--x))` work? (#11144)

Note this implies that you can't just build the full directed dependency graph before resolving properties. For example:

```css
.foo {
  --a1: --b2;
  --a2: var(var(--a1));
  --b1: --a2;
  --b2: var(var(--b1));
}
```

`--a2` and `--b2` are cyclic but we don't know until we have started doing some substitutions.

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


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

Received on Monday, 4 November 2024 10:38:04 UTC