[whatwg] CSS canvas() function

Tab Atkins Jr. jackalmage at gmail.com
Wed Dec 1 17:43:05 PST 2010


On Wed, Dec 1, 2010 at 5:37 PM, Robert O'Callahan <robert at ocallahan.org> wrote:
> 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>?

I don't think they would.  I'm just saying, it's equivalent in
rendering behavior to <img>.

I'm okay with restricting it to the big 3, I'm just exploring the
problem space first.

~TJ



More information about the whatwg mailing list