- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Tue, 01 Aug 2023 13:42:33 +0000
- To: public-css-archive@w3.org
@Loirooriol Yeah, that may be.
Perhaps @emilio is concerned about a case like this, where a revert appears "late" and adds a dependency that's not otherwise there in the un-reverted value:
```html
<!doctype html>
<style>
.outer { --x: blue; color: red;}
@layer {
.inner {
--x: var(--y);
}
}
.inner {
/* --x and --y are cyclic via revert-layer */
--x: var(--unknown, revert-layer);
--y: var(--x, yellow);
color: var(--y, green);
}
</style>
<div class="outer">
<div class="inner">
Which color am I?
</div>
</div>
```
--
GitHub Notification of comment by andruud
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9131#issuecomment-1660359090 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 1 August 2023 13:42:34 UTC