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

Re: attr(x, y)

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 29 Sep 2003 17:07:00 -0400
Message-Id: <200309292107.h8TL71cJ017589@nerd-xing.mit.edu>
To: Roland Tepp <roland.tepp@mail.ee>
Cc: www-style@w3.org

> eg. if  attr(name) would evaluate to "foo" then given example would 
> (theoretically) expand to
>   list-style-image: url(/images/ "foo" .gif);
> So would that line be valid in any current browser or spec?

Actually, I was not thinking in terms of "expanding", but simply in terms of
"how do you parse it?".  Upon further reflection, this is unambiguously
parsable, and I've not been able to come up with ways to create ambiguous
constructs of this form yet (a good start).

    "What the hell are you getting so upset about?  I
thought you didn't believe in God."
    "I don't," she sobbed, bursting violently into
tears, "but the God I don't believe in is a good God, a
just God, a merciful God.  He's not the mean and stupid
God you make Him out to be."

                     --Joseph Heller, "Catch-22"
Received on Monday, 29 September 2003 17:51:33 UTC

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