W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2019

Re: [csswg-drafts] [css-transforms-2] Is it necessary to serialize all 3 components of translate given the 3rd component is 0px (#3305)

From: Eric Willigers via GitHub <sysbot+gh@w3.org>
Date: Thu, 10 Oct 2019 00:43:20 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-540269938-1570668199-sysbot+gh@w3.org>
> > Even for CSS animations, it goes against general CSS behavior if pausing/freezing an animation at a translate Z of 0px has a different rendering compared to setting that transformation directly.
> 
> Yes, this is one of the issues I was concerned about. But it looks like Chrome is okay with changing this to not have behavior differences.

No change in Blink animation behavior was mentioned. Pausing/freezing a 2D animation in Blink can still have a different rendering compared to setting that 2D transformation directly. Pausing a animation at `transform: translate(10px, 20px)` is equivalent to having `will-change: transform`.

I understood @chrishtr to only be discussing a Blink change to make non-animated `transform: translate3d(10px, 20px, 0px)` be equivalent to `transform: translate(10px, 20px)`.


-- 
GitHub Notification of comment by ewilligers
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3305#issuecomment-540269938 using your GitHub account
Received on Thursday, 10 October 2019 00:43:23 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:54 UTC