- From: Spartanicus <mk98762@gmail.com>
- Date: Wed, 22 Aug 2007 00:03:28 +0100
- 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 UTC