W3C home > Mailing lists > Public > www-style@w3.org > September 2011

Re: [css3-values] Remove issue about attr() auto-inferring type

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Thu, 15 Sep 2011 15:52:54 -0700
Message-ID: <CAAWBYDBdMHM76RsTkJ2JRoRdzbP17Q7BmWQ04Zmf8VwT6Q5Yyg@mail.gmail.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: www-style list <www-style@w3.org>
On Thu, Sep 15, 2011 at 3:49 PM, Bjoern Hoehrmann <derhoermi@gmx.net> wrote:
> * Tab Atkins Jr. wrote:
>>The attr() section of CSS3 Values
>><http://dev.w3.org/csswg/css3-values/#attr> currently has an issue
>>asking if we can just infer the type of the value if attr() is used on
>>a property that only accepts a single type.
>>
>>This would be a bad idea.  It means that if a property is ever defined
>>to take a single type of value, we are then unable to change it in the
>>future to take two or more types of values without possible breaking
>>attr() use.
>
> At that point the rule can be changed to say the default is specified
> individually for each property, or that exceptions to the rule are.

That's a possibility, yeah.  I don't know how useful it would be, though.

~TJ
Received on Thursday, 15 September 2011 22:53:41 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:44 GMT