W3C home > Mailing lists > Public > www-style@w3.org > February 2013

[CSS21][css-device-adapt] Multiple groups in the "Media" line of properties/descriptors

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Thu, 28 Feb 2013 13:06:16 +0100
Message-ID: <512F4838.1090507@kozea.fr>
To: "www-style@w3.org" <www-style@w3.org>
Hi,

Properties and descriptors have a "Media" line described in 1.4.2.6 of 
CSS 2.1:

> This part indicates the media groups to which the property applies.
> Information about media groups is non-normative.

When this line lists multiple groups, it is unclear whether the property 
should apply when the current media is in *any* on the listed group or 
*all* of them.

This happens at least for the 'cursor' property (visual, interactive) 
and for the @viewport descriptors defined in css-device-adapt (visual, 
continuous).

In both cases "all" makes more sense than "any".
Should we errata CSS 2.1 ?


By the way, css-device-adapt kind of implies in its Introduction that 
the whole spec only applies in continuous media. It would be nice to 
make this more explicit.

-- 
Simon Sapin
Received on Thursday, 28 February 2013 12:06:39 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:06 GMT