Previous Message
Next Message

RE: [css-d] Text-decoration in :after content

Sent by Ian Hickson on 29 September 2002 23:11


On Sun, 29 Sep 2002, Porter Glendinning wrote:
>
>      [...]
>           :not(:contains("o")):not(:contains("u")):not(:contains("y"))
>           :not(:contains("A")):not(:contains("E")):not(:contains("I"))
>           :not(:contains("O")):not(:contains("U")):not(:contains("Y"))
>      [...]
> 
> Of course, in order for these rules not to catch text links that don't 
> contain vowels you'd have to basically reproduce the entire character 
> set you're using in the :not(:contains()) pseudo-classes (hence the 
> "somewhat ridiculous"), but I wanted to spare the list from that sort 
> of download.  :)

There are over 16000 characters in the CSS character set (UNICODE). I
think that selector is a little too big for any sensible application...

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Previous Message
Next Message

Message thread:

Possibly related: