Re: [css3] Determining the first occurence of an attribute value

Boris,


> Sounds like a request for a selector to me, not a request to improve the
> content property... That is, why is the content property particularly
> special in this case? 

well, it's not a selector problem, since CSS offers enough power to match
almost every element. In the proposed solution the selector should only process
the 'content' property once encountering identical attribute values, and for
now, that's only possible if you know all attribute values (and use a
selector for each of them).

> This could apply to any property, as far as I see.  E.g.  I
> could want to bold a term the first time it's used (and provide the extra
> text), but not other times....

But you cannot 'provide extra text' with 'any property'. And if you don't
want to, 'regular' selectors should be absolutely sufficient. -- Currently, I
feel rather confirmed when suggesting an extra keyword for 'content'.


Best regards,
 Jens.


-- 
Jens Meiert
Interface Architect

http://meiert.com/

Received on Thursday, 26 February 2004 10:06:05 UTC