W3C home > Mailing lists > Public > www-style@w3.org > June 2008

[css3-mediaqueries] Application to @media and @import rules.

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 16 Jun 2008 15:22:16 -0700
Message-ID: <4856E798.4010509@inkedblade.net>
To: www-style@w3.org

   # If the comma-separated list is the empty list it is assumed to specify the
   # media query Ďallí.

Currently @media { ... } is invalid in CSS2.1. I think it should therefore remain
invalid in CSS Level 3, and in that case you will need wording somewhere that the
media list in @media rules cannot be empty.

   # The media queries syntax can be used with HTML, XHTML, XML [XMLSTYLE] and the
   # @import and @media rules of CSS.

This sentence is very imprecise. If you're going to say something normative about
these technologies, then you should specify precisely how media queries syntax can
be used and cite the specifications that define the technologies you're modifying.
For example, you can say that media queries replaces the 'media' attribute syntax
in HTML4 and the XHTML languages based off of that spec. Later versions of these
technologies can then cite Media Queries directly, e.g. HTML5 can refer to Media
Queries.

In the case of CSS you should say that media queries (as defined in this specification)
replaces the list of media types in the @import and @media rules defined in CSS2.1.

Note that you also need a conformance section. I suggest copying the conformance
section from the CSS Namespaces spec. :)

~fantasai
Received on Monday, 16 June 2008 22:33:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:07 GMT