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

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 09 Nov 2018 03:15:48 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-437236378-1541733347-sysbot+gh@w3.org>
`translateZ(0)` absolutely has side effects; it's a classic hack to trigger forcing the element onto its own rendering layer. Iirc all the 3d transforms do so, even if they're "identity" transforms otherwise.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3305#issuecomment-437236378 using your GitHub account
Received on Friday, 9 November 2018 03:15:50 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:59 UTC