[css3-mediaqueries] feedback on device-aspect-ratio, aspect-ratio and orientation

On Oct 17, 2008, at 2:47 AM, Bert Bos wrote:

> The CSS WG published a new draft of Media Queries:
>
>    http://www.w3.org/TR/2008/WD-css3-mediaqueries-20081015
>
> Media Queries was already a Candidate Recommendation. However, we  
> found no implementations yet of 'device-aspect-ratio' and also  
> decided that the handling of syntax errors could be made more  
> precise. So we made a new draft to mark 'device-aspect-ratio' as "at  
> risk" (which allows us to drop it before going to Recommendation  
> without needing another draft, if support doesn't improve). We also  
> took the opportunity to add two new media features that were  
> requested: ‘aspect-ratio’ and ‘orientation’. They, too, may be  
> dropped again if no implementations arrive soon.
>
> We'd especially like comments on those changes, i.e:
>
>  - Revision of the syntax section.
>  - Addition of the ‘aspect-ratio’ and ‘orientation’ media features.
>
> As usual, comments are best sent to this mailing list, <www-style@w3.org 
> >. Please, prefix the subject line with "[css3-mediaqueries]" as I  
> did on this message.

We are interested in these features, but request changes.

aspect-ratio and device-aspect-ratio
------------

We think these should take a number (float) rather than a ratio  
(defined as a string). While ratio gives the same result it doesn't  
seem worth introducing a new type just for these queries.

Also, the spec should be clear wether or not it is talking about the  
physical dimensions (and, as such, give an example without square  
pixels).

orientation
-----------

We think this should be defined using an angle and allow min/max  
prefixes. The spec can say that an implementation should report the  
angle to the best of its ability.

Dean

Received on Thursday, 30 October 2008 18:32:13 UTC