- From: Andreas Kling <andreas.kling@nokia.com>
- Date: Thu, 08 Jul 2010 23:27:41 +0200
The current HTML5 specification says: "The IDL attribute complete must return true if the user agent has fetched the image specified in the src attribute, and it is in a supported image type (i.e. it was decoded without fatal errors), even if the final task queued by the networking task source for the fetching of the image resource has not yet been processed. Otherwise, the attribute must return false." [1] This reads to me as if a "new Image()" should have complete=false No browser currently does this AFAIK. I've posted a patch to implement this behavior in WebKit here: https://bugs.webkit.org/show_bug.cgi?id=41898 Does anyone have thoughts on this? Anything that might break? Reasons it's currently defaulting to true? -Kling [1] http://www.whatwg.org/specs/web-apps/current-work/#dom-img-complete
Received on Thursday, 8 July 2010 14:27:41 UTC