W3C home > Mailing lists > Public > public-css-testsuite@w3.org > September 2011

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 30 Sep 2011 00:42:25 -0400
Message-ID: <4E8548B1.4020106@mit.edu>
To: Alan Gresley <alan@css-class.com>
CC: public-css-testsuite@w3.org
On 9/29/11 12:41 AM, Alan Gresley wrote:
> -0 = 0 = +0
> 100px = +100px


> 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.


> 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.

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 30 September 2011 04:43:03 GMT