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 09:11:11 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-540476884-1570698670-sysbot+gh@w3.org>
> If it's a render time clamp gCS will be 0

> RESOLVED: 0 is allowed with 1px being the render time clamp

With the `perspective` property, I understand the resolution to mean that `0px` gives gCS result `0px` but renders as if `1px` was supplied.

With the `perspective()` function, I am less clear about the intent.

Does `perspective(0)` give gCS result `"matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, -Infinity, 0, 0, 0, 1)"` or `"matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, -1, 0, 0, 0, 1)"` ?



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

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