W3C home > Mailing lists > Public > www-style@w3.org > July 2005

[css3-values] attr() function

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sun, 31 Jul 2005 12:51:22 +0200
Message-ID: <20050731125122.33vq923y500cwoos@webmail.annevankesteren.nl>
To: www-style@w3.org

If introduced as global value the attr() function should apply to every property
and to every language that has notion of attributes, in my opinion. Note that
theoretically HTML UAs might reject <p color="red"> because it is not valid,
but if they do not it should be supported as expected.

<color> might be a problem though as colors are often specified as '000000'
which is not valid and should be rejected per CSS 2.1. It might be a good thing
if the draft specified that if the source language has contains six or three
digits and the style sheet request them to be parsed as a color UAs should
recognize them as colors even though they are not prefixed with #.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Sunday, 31 July 2005 10:51:30 GMT

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