Re[2]: attr(x, y)

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