Re: [css3-mediaqueries] Width/Height Clarifications

Andrew Fedoniouk wrote:
> 
> Terribly sorry for the interruption but I have to ask:
> 
> What if device-width/height are getting changed dynamically?
> Let's say some mobile device that is changing screen orientation
> dynamically. How MQ will handle this?

I assume you'd handle it the same way as when 'width' and 'height',
which refer to the viewport, change dynamically.

There's no concept of time or sequence in (non-aural) CSS. If the
viewport is X inches wide, then the initial containing block is X
inches wide, media queries mapping to an X-inch-wide viewport apply,
and the layout is defined from there.

~fantasai

Received on Friday, 6 June 2008 03:18:13 UTC