- From: Steve Tinney <stinney@sas.upenn.edu>
- Date: Tue, 15 May 2001 00:08:44 -0400
- To: www-style@w3.org
Given:
<a x="1" z="3"/>
<a x="6" y="2"/>
<a z="5"/>
is there any CSS rule set *other than listing all possible permutations*
which will enable processing of each of the attributes of <a> something like
this:
a[x=1]:after { content: 'a'; }
a[x=6]:after { content: 'f'; }
a[y=2]:after { content: 'b'; }
a[z=3]:after { content: 'x'; }
a[z=5]:after { content: 'v'; }
to produce:
ax
fb
v
?
Or is this completely beyond the pale of CSS philosophy?
Yours not-very-hopefully,
Steve
Received on Tuesday, 15 May 2001 00:06:42 UTC