- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 1 Nov 2011 17:36:42 -0700
- To: www-style list <www-style@w3.org>
In the definitions for 'bookmark-label' and 'bookmark-target', the property definition line explicitly talks about the attr() function. There's no need to do so - attr() resolves to a particular type based on its type argument. So bookmark-label, for example, only needs to say that it accepts <string>, and then any use of "attr(foo as string)" or "attr(foo)" will be valid, but "attr(foo as color)" won't be. A similar consideration applies for bookmark-target and the <url> type. ~TJ
Received on Wednesday, 2 November 2011 00:44:19 UTC