[css-houdini-drafts] [css-typed-om] Serialization of 2D CSSScale should never skip the second value (#1161)

gmta has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-typed-om] Serialization of 2D CSSScale should never skip the second value ==
Regarding the [serialization of CSSScale](https://drafts.css-houdini.org/css-typed-om-1/#serialize-a-cssscale), the second value should always be serialized, even if its value is equal to the first.

Test case:

```html
<!DOCTYPE html>
<style>
#a {
    transform: scale(1.5);
}
</style>
<div id="a"></div>
<script>
console.log(a.computedStyleMap().get("transform").toString());
</script>
```

Both Chrome and Safari output `scale(1.5, 1.5)` as the serialized value.

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


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

Received on Tuesday, 18 November 2025 14:19:43 UTC