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

Re: Proposal: regular expressions (or wildcards) in selectors

From: Chris Lilley <chris@w3.org>
Date: Tue, 16 Mar 2004 23:01:09 +0100
Message-ID: <1713094301.20040316230109@w3.org>
To: David Woolley <david@djwhome.demon.co.uk>
Cc: www-style@w3.org

On Tuesday, March 16, 2004, 10:24:09 PM, David wrote:


>> I think the better approach is to require the match of two attribute selectors
>> like so:
>> 
>>   *[class^="myclass-a"][class$="5"] {/* ... */}

DW> That was my thought too.  I think that very few people realise that
DW> class is a space separated list of class names.

I agree that many do not realize that, and its crucial.

Class is the set membership attribute. Elements can be members of many
different sets.


-- 
 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 Member, W3C Technical Architecture Group
Received on Tuesday, 16 March 2004 17:01:10 GMT

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