[whatwg] Default value of "complete" attribute on new Image objects

Philip Taylor excors+whatwg at gmail.com
Tue Aug 10 16:56:14 PDT 2010


On Wed, Aug 11, 2010 at 12:23 AM, Ian Hickson <ian at hixie.ch> wrote:
> I've updated the spec to have complete return true if the src is the empty
> string.

Some canvas methods (drawImage, createPattern) are defined in terms of
the complete attribute ("If the image argument is an HTMLImageElement
object whose complete attribute is false, [...] then the
implementation must return without drawing anything."). Now that it
can be true when the image doesn't have any image data, what should
they do when passed such an image?

-- 
Philip Taylor
excors at gmail.com



More information about the whatwg mailing list