[whatwg] add html-attribute for "responsive images"
Anselm Hannemann - Novolo Designagentur
anselm at novolo.de
Thu Sep 1 01:30:06 PDT 2011
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.?
More information about the whatwg