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

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 UTC