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

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

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Fri, 8 Apr 2016 10:57:20 +1000
Message-ID: <CAMdq69_4zpCZwCUcb+Pk_gmY3tR1oDwwKr8zAHouEJFsFdDWUQ@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style list <www-style@w3.org>
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.

- Xidorn
Received on Friday, 8 April 2016 00:58:26 UTC

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