W3C home > Mailing lists > Public > www-style@w3.org > September 2006

Re: [css3-selectors] :parent selector

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Sun, 24 Sep 2006 15:25:50 -0500
Message-ID: <4516E9CE.1060004@mit.edu>
To: Mihai Sucan <mihai.sucan@gmail.com>
CC: David Woolley <david@djwhome.demon.co.uk>, www-style@w3.org

Mihai Sucan wrote:
> Is such a big document heavily styled? Most likely not.

I'm really not sure what you're trying to say here.  Why does it matter whether 
most large documents are "heavily styled" (whatever that means)?

> I am always inclined to use child selectors or any type of selector that 
> matches the elements I want, as long as there's no noticeable slow down 
> in my web pages.

That's fine.  If you're not caring about performance, don't care about 
performance.  The document you cited is largely aimed at Mozilla UI developers, 
where the large number of rules and large number of dynamic updates necessitates 
that some care be taken with performance.

Put another way, a 0.2 second slowdown in opening a new browser window is 
definitely "noticeable" by users.

> Is CSS geared towards web interfaces or towards styling documents?

Initially, the latter.  There's a certain amount of activity to accomodate the 
former now, since so many web pages are in fact web interfaces, not documents.

> Web authors need more powerful methods of styling their layouts, via 
> selectors and properties. Parent selectors are among those.

No one's arguing against parent selectors being powerful, or even desirable.  As 
soon as UAs figure out a sane way to implement them, they'll probably be added.

-Boris
Received on Sunday, 24 September 2006 20:26:05 GMT

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