Re: The :min-width/:max-width pseudo-classes

On 3/22/13 1:37 PM, François REMY wrote:
> The question is: why would you want an up-to-date style?

I covered this alredy: the most common cases are getComputedStyle calls 
from script and needing to know the type of a render object that a node has.

> or to create a preliminary box tree.

This would be an example of knowing the type of render object, yes.

> If you consider the local viewport independent of the rest of the page

You don't even know it's a viewport until you've done style computation!

-Boris

Received on Friday, 22 March 2013 17:44:45 UTC