- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Tue, 05 Nov 2024 09:26:08 +0000
- To: public-css-archive@w3.org
> > Note this implies that you can't just build the full directed dependency graph before resolving var(). For example: > > Hm, that's certainly a bit more annoying. @andruud, does that alter your opinion at all? We don't rely on "statically" figuring out the dependency graph in Blink. It seems pretty hard to do that already, for example: ``` @layer { div { --x: var(--y); } } @layer { div { --x: var(--unknown, revert-layer); /* Cycle with --y, yet no literal mention of --y */ --y: var(--x); } } ``` We should check other implementations. @Loirooriol, do you know if there's an impl. that needs to build the dependency graph early? -- GitHub Notification of comment by andruud Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11144#issuecomment-2456658072 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 5 November 2024 09:26:09 UTC