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

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 UTC