W3C home > Mailing lists > Public > www-style@w3.org > December 2005

[css3-cascade] @media issues

From: Simon Pieters <zcorpan@hotmail.com>
Date: Fri, 16 Dec 2005 21:12:37 +0000
Message-ID: <BAY109-F29E76EB99147394D92FBAAB43A0@phx.gbl>
To: www-style@w3.org


I want to raise two issues with the @media at-rule in the [css3-cascade] 

1. I think that if @media has an empty list of media queries, it should be 
equivalent to "all". So the following at-rules all have the media query 

  @media {}
  @media all {}
  @media "foo" {}
  @media all "foo" {}

2. What should happen when the name is the empty string? I guess it should 
work the same way as <link rel=stylesheet title=""> in HTML. In Mozilla and 
Opera, the empty string is equivalent to no name at all (or the other way 
around, no name is equivalent to the empty string). Thus, I think the 
following should be equivalent:

  @media all {}
  @media all "" {}

Simon Pieters
Received on Friday, 16 December 2005 21:12:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:22 UTC