Re: [CSS3-mediaqueries]: Invalid test cases in test suite

On 9/29/11 12:41 AM, Alan Gresley wrote:
> -0 = 0 = +0
>
> 100px = +100px

Yes.

> My question is why implementations would allow something like
> margin-left: +100px in the first place?

Because the spec says so explicitly.

> -100px is a negative number but does not equal 100px or +100px.

Yes....

> I hope not since that would mean including all positive and negative
> numbers to infinity with a extra subset (or sub equation) for all
> negative numbers like so.
>
> -100px (+100px x 2) == 100px == +100px

I have no idea what you're talking about here.

Again, the <number> production represents real numbers.  That's all 
there is to it.

Now in practice, no UA implements that, of course.

-Boris

Received on Friday, 30 September 2011 04:42:55 UTC