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

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