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

Fixed <resolution> bug in [css3-mediaqueries] test suite

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 9 Aug 2011 12:34:20 -0700
To: public-css-testsuite@w3.org
Message-ID: <20110809193420.GA12134@pickering.dbaron.org>
During the Seattle F2F meeting Arron pointed out that the Media
Queries test suite tested that non-<integer> values for <resolution>
were rejected, which disagreed with the spec.  I have fixed this in:
https://hg.csswg.org/test/rev/c0aa90be90ad

It turns out that there was a brief period in 2008 when the spec
required <integer>, between these two commits:

revision 1.24
date: 2008/06/12 14:16:20;  author: avankest;  state: Exp;  lines: +21 -21
define <ratio> to allow whitespace around '/' in aspect-ratio and
device-aspect-ratio

revision 1.25
date: 2008/08/26 10:45:50;  author: avankest;  state: Exp;  lines: +16 -9
work around bugs in the preprocessor; make grid:2 an error; add
notes about not affecting HTML and all; <resolution> takes numbers

Prior to the first it was undefined; after the second it was
<number>.  I committed the test suite to Mozilla between these two
commits (July 26, 2008), so it was correct at the time I wrote it.  ;-)

Bug on fixing Gecko's behavior is
https://bugzilla.mozilla.org/show_bug.cgi?id=677642

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla Corporation               http://www.mozilla.com/   𝄂
Received on Tuesday, 9 August 2011 19:34:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 9 August 2011 19:34:49 GMT