[whatwg] drawImage()

On May 9, 2007, at 2:14 AM, Anne van Kesteren wrote:

> On Wed, 09 May 2007 11:10:22 +0200, Anne van Kesteren  
> <annevk at opera.com> wrote:
>> It would be nice if this method described things for image in  
>> terms of .complete. Although I've also heard people suggest they  
>> would like this method to be synchronous when HTMLImageElement is  
>> passed (Bjoern, iirc) so that you don't need the trickery involved  
>> to make sure it's already loaded.
>
> I expressed myself poorly. What I meant with synchronous is that  
> the method waits for the image to load. In any case, it would be  
> nice if the specification was a little more exact (or if people  
> think it already is: elaborate) on the subject.

Based on experience with synchronous XHR, I think we should avoid  
adding more synchronous networking operations. In addition, drawing a  
partially loaded image may be a desirable behavior in some cases

Regards,
Maciej

Received on Wednesday, 9 May 2007 03:43:31 UTC