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

[css3-values] not specifying type in attr() might cause extension problems

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sun, 31 Jul 2005 12:44:53 +0200
Message-ID: <20050731124453.e0csp3iiffa8gggg@webmail.annevankesteren.nl>
To: www-style@w3.org

I have not really thought this through yet but it might be that when the type is
implied because the property only allows one type of value besides inherit and
initial you create problems for future extension of that particular property.
If you eventually want to allow more types of values for the particular
property it can not be done because implementations depend on the implied type
for the attr() function.

A future draft would either have to specify what the implied type is when the
type argument for the attr() function is not specified or compatibility with
existing pages would have to be broken. That would make implementations for
each property more complicated.


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

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