Re: New responsive images proposal

Jukka K. Korpela, Fri, 27 Sep 2013 23:04:26 +0300:
> 2013-09-27 22:42, Brendan Long wrote:

>> Why don't we just let
>> the src attribute be specified by CSS?

> But there’s a different approach to implementing a similar idea. Just 
> use @media queries as currently defined and implemented, and use CSS 
> code like

CSS is intended for stylesheets. And stylesheets are often external to 
the page and external to the element. CSS @-rules are not permitted 
inside the style attribute. 

A CSS approach means that each time you added an <img>, you would have 
to *also* add CSS - in a stylesheet that is external to the page.

It is possible. But a *very* impractical way to solve the problem.
-- 
leif halvard silli

Received on Friday, 27 September 2013 20:25:23 UTC