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

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

From: Jens Meiert <jens.meiert@erde3.com>
Date: Thu, 26 Feb 2004 16:06:04 +0100 (MET)
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: www-style@w3.org
Message-ID: <348.1077807964@www35.gmx.net>

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 GMT

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