W3C home > Mailing lists > Public > www-style@w3.org > August 2007

Re: [Media Queries] aspect ratio

From: Spartanicus <mk98762@gmail.com>
Date: Tue, 21 Aug 2007 23:24:02 +0100
Message-ID: <n2m-g.9comc3lpunnk6p314hot5d8blent5jo99b@4ax.com>
To: www-style@w3.org

Håkon Wium Lie <howcome@opera.com> wrote:

>Second, it has been argued that the most common use case for
>aspect-ratio is to find out whether the window is in portrait or
>landscape mode.

For the discussion here it would help me if the use case(s) that
has/have been devised could be presented here.

>If this is the case, the code could be made more
>intuitive by adding keywords. For example:
>  @media screen and (aspect-ratio: portrait) 
>  @media screen and (aspect-ratio: landscape)
>Or just:
>  @media screen and (aspect: portrait) 
>  @media screen and (aspect: landscape)
>Or even:
>  @media screen and (portrait) 
>  @media screen and (landscape)

I don't understand how these keywords would work, what aspect ratio or
aspect ratio range would qualify as portrait or landscape?

Received on Tuesday, 21 August 2007 22:21:20 UTC

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