W3C home > Mailing lists > Public > www-style@w3.org > December 2003

Re: media queries

From: fantasai <fantasai@escape.com>
Date: Fri, 05 Dec 2003 10:57:37 -0500
Message-ID: <3FD0AAF1.1050802@escape.com>
To: www-style@w3.org

Ian Hickson wrote:

> On Sat, 29 Nov 2003, Sigurd Lerstad wrote:
> 
>>http://www.w3.org/TR/2002/CR-css3-mediaqueries-20020708/#width
>>****************************
>>6.1
>>
>>The "width" media feature describes the width of the rendering surface of
>>the output device. For continuous media, this is the width of the viewport
>>(as described by CSS2).
>>****************************
>>
>>Is my understanding correct that this basically requires a complete
>>reprocessing of all the stylesheets and recalculating computed properties
>>for all elements every time you resize the window? (disregarding
>>optimizations)
> 
> Yes, but this is effectively the case anyway, since the 'width' of the
> root element is dependent on the viewport width typically.

Changing the width of the root element doesn't require *reresolving*
all style. It only requires a reflow. So it's not the case anyway.

~fantasai
Received on Friday, 5 December 2003 10:57:58 GMT

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