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

That seems wrong tho?

`scale(1.5)` is the shortest serialization. Chrome and WebKit also serialize with one argument if you serialize specified styles:

```
document.body.style.transform = "scale(1.5)"; console.log(document.body.style.transform);
```

Though I don't think they omit the second argument if equal to the first (they should tho, and Firefox does it):

```
document.body.style.transform = "scale(1.5, 1.5)"; console.log(document.body.style.transform);
```

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1161#issuecomment-3550116416 using your GitHub account


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

Received on Wednesday, 19 November 2025 01:09:06 UTC