Re: [csswg-drafts] [cssom-1] Serialization of feature values (#11041)

Lengths don't seem to serialize with the canonical unit at declaration-value time:

```css
var div = document.createElement("div");
div.style.width = "1in";
div.style.width; // "1in"
```

Also the value of the `color` feature should apparently be an `<integer>`, so `1.0` in invalid, and see #10238 for `1e1`. 

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


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

Received on Thursday, 17 October 2024 08:07:29 UTC