Re: ID selector via attribute?

On Mon, 21 Apr 2003, Michael Day wrote:
>> This would require the :matches() pseudo-class as well, as in:
>>    label:matches(# /for/ :focus) { font-weight: bold; }
> Do you have the URL handy for your proposal of the :matches pseudo-class?

It is a proposal that has evolved over the years based on feedback from
www-style posters.

The most complete proposal I could find is at the end of:
(Search for "updated".)

This post lists several examples of :matches() and its alternatives:

An earlier (earliest?) version of the proposal can be found in:

None of these exactly represent what I would propose if I were to be
writing a proposal for CSS4 Selectors, but then I'm not entirely sure what
that would be myself.

Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.                         `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 21 April 2003 08:02:32 UTC