W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2014

Re: [whatwg] ImageBitmap feature requests

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sun, 18 May 2014 20:02:14 -0700
Message-ID: <CAOp6jLaGZdeKBn1ZPTzhy9yMsUDNHY2oCYaSLM0NKgQqkdHSEQ@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: Justin Novosad <junov@google.com>, "whatwg@whatwg.org" <whatwg@whatwg.org>, Ian Hickson <ian@hixie.ch>
On Sat, May 17, 2014 at 4:18 AM, Anne van Kesteren <annevk@annevk.nl> wrote:

> Maybe we should have <img>.srcObject similar to what we're doing for
> media elements. <img>.src can simply return about:imagebitmap or some
> such. That way you can also assign a Blob to an <img> element without
> having to do the weird createObjectURL() hack that might leak memory
> if you're not careful.

I like this approach, but I think it's simpler to continue to have
HTMLImageElement.src reflect the "src" content attribute.

Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w
Received on Monday, 19 May 2014 03:02:39 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:20 UTC