W3C home > Mailing lists > Public > www-style@w3.org > May 2010

Re: [css3-content] "content" property, replaced elements, and width

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sun, 9 May 2010 20:50:32 +1200
Message-ID: <n2y11e306601005090150j5cb410b7q4ada1a17b8fe7d2e@mail.gmail.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
On Sun, May 9, 2010 at 3:05 AM, L. David Baron <dbaron@dbaron.org> wrote:

>  img { content: attr(src, url); }

There's no way to do alt text properly with this approach, is there?

I agree it would be nice for building "img-like" elements, but <img> itself
seems too special.

"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
Received on Sunday, 9 May 2010 08:51:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:45 UTC