Re: [whatwg] ImageBitmap feature requests

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.

Rob
-- 
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