W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2011

[whatwg] add html-attribute for "responsive images"

From: Anselm Hannemann - Novolo Designagentur <anselm@novolo.de>
Date: Thu, 1 Sep 2011 10:30:06 +0200
Message-ID: <A55294C4-2DF5-4C8F-A9E1-57D1301053C9@novolo.de>
Am 01.09.2011 um 01:46 schrieb Charles Pritchard:

> On 8/31/2011 2:32 PM, Karl Dubost wrote:

> Oh, that's not my proposal, that syntax was brought up by Tab Atkins.
> 
> It's already available. I was looking into how to handle <img [no source] style="background: url(..)" />
> It may work with the following, now, or at some point in the future:
> <img style="content: replaced; background-color: ...;" />
> 
> I'd proposed visibility: content-hidden; to be used with background and border.

Why should we use inline-styles once again? Why should we load content images with CSS? What about accessibility? Where to add alt-attribute / title / ARIA etc.?
-Anselm
Received on Thursday, 1 September 2011 01:30:06 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:36 UTC