- From: Eric Willigers via GitHub <sysbot+gh@w3.org>
- Date: Fri, 11 Oct 2019 00:41:45 +0000
- To: public-css-archive@w3.org
gCS for `perspective: X` is a length. gCS for `transform: perspective(X)` is a matrix3d(). [Example](https://jsfiddle.net/ericwilligers/sac184b6/) We have at least the following options. Option 1: clamping does not affect gCS results. gCS for `transform: perspective(X)` is ` "matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, -Infinity, 0, 0, 0, 1)"`. I don't this option would address @smfr's concern: to avoid infinity during animation, we need to clamp at computed value time. Option 2: clamping at computed value time for `transform: perspective(X)` , at render time for `perspective: X`. Option 3: clamping for `perspective: X` and `transform: perspective(X)` at computed value time. For consistency between `perspective: X` and `transform: perspective(X)`, I would suggest Option 3. -- GitHub Notification of comment by ewilligers Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/413#issuecomment-540853495 using your GitHub account
Received on Friday, 11 October 2019 00:41:50 UTC