Re: @media in STYLE_SHEETS_USE

 Dear Dominique Hazael-Massieux ,

The Mobile Web Best Practice Working Group has reviewed the comments you
sent [1] on the Last Call Working Draft [2] of the W3C mobileOK Basic
Tests 1.0 published on 30 Jan 2007. Thank you for having taken the time to
review the document and to send us comments!

The Working Group's response to your comment is included below, and has
been implemented in the new version of the document available at:
http://www.w3.org/TR/2007/WD-mobileOK-basic10-tests-20070525/

Please review it carefully and let us know if you agree with it or not
before 22 June 2007. In case of disagreement, you are requested to provide
a specific solution for or a path to a consensus with the Working Group. If
such a consensus cannot be achieved, you will be given the opportunity to
raise a formal objection which will then be reviewed by the Director
during the transition of this document to the next stage in the W3C
Recommendation Track.

Thanks,

For the Mobile Web Best Practice Working Group,
Michael(tm) Smith
W3C Staff Contact

 1. http://www.w3.org/mid/1175603992.4535.88.camel@cumulustier
 2. http://www.w3.org/TR/2007/WD-mobileOK-basic10-tests-20070130/


=====

Your comment on 3.22 STYLE_SHEETS_USE:
> Another set of small bugs regarding "3.22 STYLE_SHEETS_USE":
> * "@media rule" should read "@media at-rule"
> * it makes no sense to restrict the warning on the fact that there is
> only a single @media screen rule; I think what was meant was: if all
> the
> CSS rules only apply to the screen media type, warn
> * HTML 4.01 (which defines the rules that apply for XHTML 1.x as far
> as
> I know) defines that the default value of the media attribute (both
> for
> <style> and <link>) is "screen":
>
http://www.w3.org/TR/1999/REC-html401-19991224/present/styles.html#adef-media
> ; in other words, if nothing is specified, the default is that the rules
> only apply to screen; that's probably worth clarifying explicitly in the
> test
> * relatedly, if we do assume the media attribute defaults to "screen",
> this means that a conformant user agent only reading @media handset
> wouldn't read anything in the following <style>:
> <style type="text/css">
> @media handset {
> ..red { color:red;}
> }
> </style>
> 
> (because this style should be assumed to be in media screen, and so
> wouldn't even need to be parsed by a handset);
> 
> I doubt this is what happens in practice, though; but at least, this
> may
> deserve some clarification in the document.


Working Group Resolution:
1. editorial
2. we will warn if css rules apply only to screen media type
3. we will clarify that styles that have no media descriptor actually
refer to all, not to screen.


----

Received on Monday, 4 June 2007 14:14:06 UTC