- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Sun, 9 May 2010 09:36:49 -0700
- To: robert@ocallahan.org
- Cc: "L. David Baron" <dbaron@dbaron.org>, www-style list <www-style@w3.org>
On Sun, May 9, 2010 at 1:50 AM, Robert O'Callahan <robert@ocallahan.org> wrote:
> 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?
img { content: attr(src, url), attr(alt); }
> I agree it would be nice for building "img-like" elements, but <img> itself
> seems too special.
Even if we couldn't do <img> in pure CSS, the ability to do img-like
elements is pretty darn useful.
~TJ
Received on Sunday, 9 May 2010 16:37:42 UTC