Re: [css-houdini-drafts] Dependency Cycles via Relative Units with unit algebra (#1080)

Actually we need more than that, because https://drafts.css-houdini.org/css-properties-values-api/#dependency-cycles isn't really addressing the problem with lengths:

```css
@property --foo {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
div {
  --foo: 10ex;
  font-weight: calc(var(--foo) / 1px);
}
```

The `ex` unit depends on `font-weight` , but the directed dependency graph is not aware of it, since there is only an edge to `font-size`, not `font-weight`.

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


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

Received on Wednesday, 12 July 2023 20:08:14 UTC