W3C home > Mailing lists > Public > www-style@w3.org > December 1995

RE: draft-ietf-html-style-00.txt & class as a general selector

From: Gavin Nicol <gtn@ebt.com>
Date: Thu, 7 Dec 1995 21:13:10 -0500
Message-Id: <199512080213.VAA23980@ebt-inc.ebt.com>
To: cwilso@microsoft.com
Cc: www-style@w3.org
How about the following for a syntax for style naming. First off, we
start with the basic TEI locators:

B                ; All <B> elements
LI,B             ; All <B> elements inside <LI>
LI,B=4           ; All <B> elements that are the 4th <B> to occur
                   within an <LI>
LI=2,B=1         ; The first <B> inside the second <LI> in the
                   document

Then add attribute-based derivation:

#CLASS="foo             ; all elements of class "foo"
LI#CLASS="foo",B#CLASS="bar"    ; All <B> elements that are of class
                                  "bar" that occur within <LI> of
                                  class "foo"

Where CLASS could be replaced with an attribute.
Received on Thursday, 7 December 1995 21:14:40 GMT

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