[Bug 23188] Validator / test suite CSS media query bugs

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23188

Michael[tm] Smith <mike@w3.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Michael[tm] Smith <mike@w3.org> ---
(In reply to Mark Rogers from comment #0)
> There are a couple of test suite problems related to white space in CSS
> media queries:
> 
> 1) Validator.nu (and media-queries/018-novalid.html) expects media='screen
> and (device-aspect-ratio: 16 / 9)' to be a failure due to whitespace in "16
> / 9". My reading of the spec is that whitespace is allowed in the ratio:

I've fixed that now in the code and pushed the change to the W3C validator.

> 2) Validator.nu (and media-queries/012-novalid.html) expects "screen and
> (min-width: 400px)and (max-width: 600px)" to fail due to missing whitespace
> before the 'and'. My reading of the spec is that whitespace (the S*
> production) is optional:

As I noted in earlier comments, the latest MQ spec once again makes that
whitespace required, not optional. So I'm going ahead and closing this bug. To
report other issues with MQ checking in validator, please raise other bugs.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 16 September 2013 21:35:50 UTC