W3C home > Mailing lists > Public > www-style@w3.org > August 2012

Re: [css3-gcpm] Wrong usage of attr() function

From: Håkon Wium Lie <howcome@opera.com>
Date: Thu, 16 Aug 2012 14:52:47 +0200
Message-ID: <20524.60703.150759.959639@gargle.gargle.HOWL>
To: Werner Donné <werner.donne@pincette.biz>
Cc: www-style@w3.org
Also sprach Werner Donné:

 > Throughout the editor's draft there are examples where the attr()
 > function is used with a type. However, the name of the attribute
 > and the type are separated by a comma operator. According to
 > section 8.3 of [css3-values] this is not allowed. The optional
 > second argument to the function is a fallback value instead of a
 > type.

Right, css3-values has changed. The editor's draft has now been
updated with the new syntax.

  http://dev.w3.org/csswg/css3-gcpm

Basically, there are two sets of chages:

  attr(title, string)  -> attr(title)   /* string being default */
  attr(href, url) -> attr(href url) 

-h&kon
              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Thursday, 16 August 2012 12:53:23 GMT

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