W3C home > Mailing lists > Public > www-style@w3.org > October 2003

Re: CSS 4?

From: Daniel Glazman <danielglazman@easyconnect.fr>
Date: Wed, 29 Oct 2003 23:03:23 +0100
Message-ID: <3FA0392B.2000508@easyconnect.fr>
To: Dylan Schiemann <dylans@yahoo.com>
Cc: www-style@w3.org

Dylan Schiemann wrote:

> So css selectors then are only to be used for style?  I thought that one 
> of the goals of css selectors was to create a general selection 
> mechanism.  If that's the case, then where would one use such a 
> selection mechanism for non-styling purposes.

Why only selection ?

Selectors as they are today are a REMARKABLE flat description of
a part of a subtree. And it's probably the only one available. If you think of
A + B > C in terms of "that's the set made of an A, a B following it, and finally a
C contained in the B" instead of "that's matching a C inside a B following an A",
you have your answer, you understand what I mean here.

Just forget about "selectors match elements in the tree" ;-)

One very interesting point about Selectors is the size. Could you really describe
A+B>C in a more concise way ?

Received on Wednesday, 29 October 2003 17:03:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:09 UTC