Re: media queries

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.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
U+1047E                                         /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 5 December 2003 06:34:07 UTC