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

Henri Sivonen hsivonen at iki.fi
Tue Feb 7 05:46:31 PST 2012


On Tue, Feb 7, 2012 at 1:15 AM, Bjartur Thorlacius <svartman95 at gmail.com> wrote:
> Why not use a media attribute of <object>?

There's probably already a better answer to "Why not use <object> for
foo?" in the archives of this list, but the short version is that it's
nicer for implementations to have elements that support particular
functionality when node is created instead of having elements that
change their nature substantially depending on attributes, network
fetches, presence of plug-ins, etc., etc.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/



More information about the whatwg mailing list