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

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

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Fri, 11 Oct 2019 01:28:51 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-540861872-1570757330-sysbot+gh@w3.org>
(If I'd thought about this interaction between the two `perspective()` related issues we discussed last week, I would have argued stronger for changing the perspective function to compute/animate as itself!)

But, that said: we don't have an infinity keyword in CSS. But, the agreed upon format for serialization (from https://github.com/w3c/csswg-drafts/issues/3768#issuecomment-481771424) is `calc(1/0)`.  So you could use that in the computed value for representing `perspective(0)` as a matrix3d function.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/413#issuecomment-540861872 using your GitHub account
Received on Friday, 11 October 2019 01:28:53 UTC

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