- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Thu, 27 Jun 2024 11:10:03 +0000
- To: public-css-archive@w3.org
OK, I now see the attribute value needs to be a _single token_ (surprising), which means the example in the first post was bad.
In that case, what about:
```
<div data-x="10.000px">
```
```
div { --x: attr(data-x length); }
```
Does this serialize as `10px` or `10.000px`?
--
GitHub Notification of comment by andruud
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10503#issuecomment-2194405474 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 27 June 2024 11:10:03 UTC