Re: [css-transforms] editing issue with 0 value for 'perspective'

On Tue, Jan 5, 2016 at 10:29 PM, L. David Baron <dbaron@dbaron.org> wrote:
> On Tuesday 2016-01-05 13:14 -0800, Tab Atkins Jr. wrote:
>> Per <https://wiki.csswg.org/spec/limited-ranges>, requiring a positive
>> length is a spec error.  0px must be valid.
>
> For what it's worth, it looks like the 'perspective' property and
> the 'perspective()' transform function are the only places in
> Gecko's CSS parser that require a positive value.  (There are many
> places that require a nonnegative value, and a few [1] that require
> a value of 1 or more.)

Yeah, non-negative and "1 or more" are both fine - they're closed
ranges.  It's "positive" that's problematic, because rounding makes
this uncertain.

~TJ

Received on Wednesday, 6 January 2016 16:56:27 UTC