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

Re: [Media Queries] aspect ratio

From: Spartanicus <mk98762@gmail.com>
Date: Wed, 22 Aug 2007 00:03:28 +0100
Message-ID: <n2m-g.6uqmc31e2qdcas9p3govrdvkqla3ua1bs8@4ax.com>
To: www-style@w3.org

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

> > > First, it is argued that the aspect ration of the device isn't that
> > > interesting, one should (instead/also) query the aspect ratio of the
> > > window.
> > 
> > So this would mean that when the user resizes the window the UA would need to 
> > check rules in these @media to see whether they've now started applying, right?
>
>Your question is also relevant for the "width" and "height" media
>features.

Indeed.

>In Opera, which support "width" and "height" you have to reload the
>document for the changes to take effect. It's certainly possible to
>implement it so that users don't have to press reload, but the use
>case seems slim (except for demo purposes) and the spec doesn't
>require it.

Afaics for the typical viewport size related media queries use cases an
author would want the query to be re-evaluated. But I'm not convinced
that it should be a spec requirement given that authors can use
javascript to trigger a reload.

-- 
Spartanicus
Received on Tuesday, 21 August 2007 23:00:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:52 GMT