- From: Arron Eicholz <Arron.Eicholz@microsoft.com>
- Date: Wed, 28 Sep 2011 15:47:23 +0000
- To: "L. David Baron" <dbaron@dbaron.org>
- CC: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
On Monday, September 26, 2011 3:03 PM L. David Baron wrote: > On Monday 2011-09-26 20:52 +0000, Arron Eicholz wrote: > > I have diligently been going over the Media Queries test suite and I think I > have discovered a few more issues with the test. > > > > query_should_not_be_parseable("not (orientation)"); > > query_should_not_be_parseable("only (orientation)"); > > query_should_not_be_parseable("all and color :"); > > query_should_not_be_parseable("all and color : 1"); > > > > The tests for bad parsing are incorrect in some cases. The cases are > currently set up to test as not being parseable. The first 2 cases according to > Section 3.1 of the media queries spec, a case where the IDENT production is > not matched should fall into the malformed media query case. The last 2 > cases are specifically malformed media queries. Looking at the malformed > media query case, media queries with unexpected tokens should be > represented as 'not all'. This then means that the cases I listed above should > all be parseable and the .mediaText will return "screen, not all" for all 4 cases. > > The spec has changed in this area, and I failed to catch this update. > > I've update the test in https://hg.csswg.org/test/rev/9361a146d63c > and also posted a Mozilla patch in > https://bugzilla.mozilla.org/show_bug.cgi?id=689319 . > > Does this update look good to you as well? Yes this update looks fine. -- Thanks, Arron Eicholz
Received on Wednesday, 28 September 2011 15:47:54 UTC