[csswg-drafts] [css-values] Specify if serialized angles should use canonical unit (#8530)

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

== [css-values] Specify if serialized angles should use canonical unit ==
Originating from discussion: https://github.com/web-platform-tests/wpt/issues/38821

What is the expected output of this?

```js
target.style.transform = 'rotate(calc(1rad * 2))'; target.style.transform
```

`2rad` or `114...deg`?


Current implementations differ a lot, and no WPT tests for this specifically (inheriting angle calc units) exist.

- Blink: `rotate(calc(2rad))`
- Gecko: `rotate(calc(114.592deg))`
- WebKit: `rotate(calc(114.591559deg))`

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


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

Received on Monday, 6 March 2023 12:55:48 UTC