- From: Afternoon <afternoon@uk2.net>
- Date: Fri, 26 Sep 2003 08:58:16 +0100
- To: www-style@w3.org
This sounds like an excellent idea.
I think your first example is good.
Ben
On Friday, Sep 26, 2003, at 07:05 Europe/London, Roland Tepp wrote:
>
> 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>
>
>
(q) Ben Godfrey?
(a) Web Developer and Designer
See http://aftnn.org/ for details
Received on Friday, 26 September 2003 04:02:38 UTC