Re: media queries

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 UTC