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

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 UTC