W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2013

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

From: <bugzilla@jessica.w3.org>
Date: Mon, 09 Sep 2013 16:33:51 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-23188-169@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23188

            Bug ID: 23188
           Summary: Validator / test suite CSS media query bugs
           Product: Validator (Nu)
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: General
          Assignee: mike+validator@w3.org
          Reporter: mark.rogers@powermapper.com
        QA Contact: www-validator-cvs@w3.org

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:
http://www.w3.org/TR/css3-mediaqueries/#aspect-ratio
(The media query from the test failure passes in jigsaw.w3.org)

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:
http://www.w3.org/TR/css3-mediaqueries/#syntax
(The media query from the test failure passes in jigsaw.w3.org)

PS Have a few more like this - I'll probably report them over the next few
weeks.

Best Regards
Mark

Mark Rogers - mark.rogers@powermapper.com
PowerMapper Software Ltd - www.powermapper.com 
Registered in Scotland No 362274 Quartermile 2 Edinburgh EH3 9GL

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Monday, 9 September 2013 16:33:54 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:55 UTC