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.

Rob
-- 
"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
53:5-6]
Received on Sunday, 9 May 2010 08:51:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:27 GMT