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

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 UTC