W3C home > Mailing lists > Public > www-style@w3.org > June 2008

Re: [css3-mediaqueries] Width/Height Clarifications

From: Brad Kemper <brkemper@comcast.net>
Date: Thu, 5 Jun 2008 21:09:50 -0700
Cc: "Grant, Melinda" <melinda.grant@hp.com>, fantasai <fantasai.lists@inkedblade.net>, Anne van Kesteren <annevk@opera.com>, "www-style@w3.org" <www-style@w3.org>
Message-Id: <BCEBAE70-6A8D-414A-A3D6-F0C7A7F0F1C1@comcast.net>
To: Andrew Fedoniouk <news@terrainformatica.com>


On Jun 5, 2008, at 6:46 PM, Andrew Fedoniouk wrote:

>
> Grant, Melinda wrote:
>> Fantasai said:
>>> Actually, I think the device-width/height should refer to the
>>> page sheet size, not the page box. That's more analogous to
>>> the screen size, since it's the physical medium size. (The
>>> page box could be smaller than the page sheet, just like the
>>> viewport is smaller than the screen size.)
>> I agree that makes sense.
>> Melinda
>
> 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?
>
>
> --  
> Andrew Fedoniouk.
>
> http://terrainformatica.com
>

I was thinking about this too. I assumed it be the same as if you,  
say, changed the class name of the body element. The layout should  
change as different rules apply, based on the change to the class or  
to the device width.
Received on Friday, 6 June 2008 04:10:35 GMT

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