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

Re[2]: attr(x, y)

From: Roland Tepp <roland.tepp@mail.ee>
Date: Fri, 26 Sep 2003 09:05:04 +0300
Message-ID: <144129596235.20030926090504@mail.ee>
To: www-style@w3.org

Hello everybody,

A bit offtopic, but since the attr() came up in this thread, I'd add few
cent of my own to the 0

Currently the css functions are used rather statically in the sense that
one can not nest them eg. use constructs like:
  list-style-image: url("/images/" attr(name) ".gif");

In the light of the new and improved attr(x, y) one could for example try
and specify
   color: rgb(attr(r,number),attr(g,number),attr(b,number),attr(a,number));

imo this would make css functions (and specifically attr(X)) much more useful
than they currently are, allowing (where appliccable) uses that could greatly
improve the overall flexibility of stylesheets.

What do you think?
 Roland Tepp <roland.tepp@mail.ee>
Received on Friday, 26 September 2003 01:50:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:08 UTC