W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > November 2018

Re: [fxtf-drafts] [css-transforms-2] How to serialize `scale` if we only use one number?

From: Boris via GitHub <sysbot+gh@w3.org>
Date: Thu, 08 Nov 2018 18:15:33 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issue_comment.created-437101908-1541700932-sysbot+gh@w3.org>
> Sigh. That's a Chrome bug. `2 2 1` does indeed signal a 3d transform, which has side-effects and is not equivalent to `2 2`.

@tabatkins Sorry to ask the question here, but I still want to know why the 3d transform has the side-effects and not equal to the 2d?
`translate: 10px 10px 0px` vs `translate: 10px 10px`, and
`scale: 2 2 1` vs `scale: 2 2`,
I thought they are the same, but as you mentioned, the 3d version is actually different and has side-effects. Would you mind to give me more explanation or is there any reference? Thank you very much.

GitHub Notification of comment by BorisChiou
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/313#issuecomment-437101908 using your GitHub account
Received on Thursday, 8 November 2018 18:15:35 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:24 UTC