W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

[whatwg] CSS canvas() function

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 2 Dec 2010 14:37:25 +1300
Message-ID: <AANLkTi=dNsZzj4kCTLKx7jKqbqYuLd8vwszX_c2rEbV4@mail.gmail.com>
On Thu, Dec 2, 2010 at 2:25 PM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:

> On Wed, Dec 1, 2010 at 5:20 PM, Robert O'Callahan <robert at ocallahan.org>
> wrote:
> > In the absence of compelling use cases, I'd just leave it at <img>,
> <canvas>
> > and <video> and whitelist in more elements later if necessary.
> <input type=image>?  <object>/<embed> seem to have roughly equivalent
> use-cases to <video> (though perhaps we just want to encourage
> <video>).

<object> can contain fallback content which might get tricky. Also, plugin
objects don't have a useful intrinsic size.

Why would anyone use <input type="image"> instead of <img>?

"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20101202/b35c71a6/attachment.htm>
Received on Wednesday, 1 December 2010 17:37:25 UTC

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