[csswg-drafts] [css-values-5] Normalized attr() substitution value (#10503)

andruud has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-5] Normalized attr() substitution value ==
What do you get if you serialize the computed value of `--x` here?

```
<div data-x="calc(1px + 2px)">
```
```
div { --x: attr(data-x length); }
```

I think we expect eager simplification (`3px`), and generally we may need something like the [equivalent token sequence](https://drafts.css-houdini.org/css-properties-values-api-1/#equivalent-token-sequence) (but for non-computed values)?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10503 using your GitHub account


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

Received on Wednesday, 26 June 2024 13:34:34 UTC