Re: [Media Queries] aspect ratio

Håkon Wium Lie <> 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


>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.


Received on Tuesday, 21 August 2007 23:00:42 UTC