W3C home > Mailing lists > Public > www-style@w3.org > March 2013

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Fri, 22 Mar 2013 13:44:16 -0400
Message-ID: <514C9870.3070105@mit.edu>
To: François REMY <francois.remy.dev@outlook.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, "www-style@w3.org" <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:07 GMT