Re: [csswg-drafts] [css-properties-values-api-1] Figure out what to do with font-relative lengths (#9517)

As @Loirooriol points out, this is not just limited to `<length>` values.

Assume `--number` is a registered custom property with the `<number>` syntax:

```css
p {
  --number: calc(10 + 2 * sign(1em - 20px));
  font-size: calc(var(--number) * 2px);
}
```

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


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

Received on Wednesday, 4 June 2025 10:04:39 UTC