W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2012

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

From: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 7 Feb 2012 15:46:31 +0200
Message-ID: <CAJQvAuc9cmFvpGPWL-biYVd3avQTjg7EsZuqqvH-7S5oLsw9eQ@mail.gmail.com>
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
Received on Tuesday, 7 February 2012 05:46:31 UTC

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