W3C home > Mailing lists > Public > www-style@w3.org > April 2016

Re: [css-transforms] Value for perspective() function

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 7 Apr 2016 19:38:30 -0700
Message-ID: <CAAWBYDCdwyDa6Gr-xLnon_JpSafvfmRUaALJjr7g_NBLyv4tbw@mail.gmail.com>
To: Xidorn Quan <quanxunzhen@gmail.com>
Cc: www-style list <www-style@w3.org>
On Thu, Apr 7, 2016 at 5:57 PM, Xidorn Quan <quanxunzhen@gmail.com> wrote:
> On Fri, Apr 8, 2016 at 2:35 AM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
>> On Wed, Apr 6, 2016 at 8:22 PM, Xidorn Quan <quanxunzhen@gmail.com> wrote:
>> > No, it doesn't mean it would be ignored. "perspective(infinity)" is
>> > something that would be ignored. I think "perspective(0)" should
>> > effectively
>> > hide anything with a non-zero Z value. Hmmm, non-zero Z value? Sounds
>> > like
>> > another hole of rounding issues... Then I have no idea.
>>
>> Right, discontinuous behavior is a bad idea, even if, as in this case,
>> it's technically warranted.  (You can't see something when you're at
>> zero distance from it; it gets infinitely warped.)
>>
>> The right answer is to specify that there's a UA-defined minimum
>> perspective length, and anything below that length (but not negative)
>> is clamped to it.  Negative values remain invalid.
>
> That sounds good. I suppose perspective property needs the same change as
> well.

Yup.

Yo, Transforms editors: y'all taking care of this, or are y'all okay
with me making the edits?

~TJ
Received on Friday, 8 April 2016 02:39:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:02 UTC