- From: Dmitry Turin <sql4-en@narod.ru>
- Date: Fri, 18 Jan 2008 11:19:19 +0200
- To: www-style@w3.org
Alan,
>> > Can a CSS property be used as the attribute in Attribute Selectors?
>> > My answer is yes.
AG> Works in Opera, Safari, Gecko, and I guess many others.
AG> <surname color="orange">Name</surname>
AG> surname[color="orange"] {color:yellow}
<html>
<style type="text/css">
p[color="orange"] {color:green}
</style>
<body>
<p style="color:orange">Name</p>
</body>
</html>
There is nothing green in Opera.
If i'm disunderstanding you, correct example above.
Dmitry Turin
SQL5 (5.9.1) http://sql50.euro.ru
HTML6 (6.5.1) http://html60.euro.ru
Unicode7 (7.2.1) http://unicode70.euro.ru
Computer2 (2.0.2) http://computer20.euro.ru
Received on Friday, 18 January 2008 10:38:55 UTC