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

Re: [csswg-drafts] [css-transforms] Zero value in perspective() function (#413)

From: Eric Willigers via GitHub <sysbot+gh@w3.org>
Date: Thu, 10 Oct 2019 09:12:33 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-540477441-1570698752-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/413#issuecomment-540477441 using your GitHub account
Received on Thursday, 10 October 2019 09:12:34 UTC

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