[csswg-drafts] [cssom] How to serialize 0% in translate property? (#7722)

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

== [cssom] How to serialize 0% in translate property? ==
Gecko currently serializes 0% as specified in the `translate` property whereas Blink and WebKit omit it. 

I think omitting it makes sense to follow the shortest form rule and to be consistent with how 0px is handled.

Though Gecko's motivation for the change was to be consistent with the `translate()` function for `transform`, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1566167#c7

This affects a few WPT:

- css/css-transforms/animation/translate-interpolation.html
- css/css-transforms/parsing/transform-valid.html
- css/css-transforms/parsing/translate-parsing-valid.html

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


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

Received on Sunday, 11 September 2022 09:26:27 UTC