[Webkit-unassigned] [Bug 28832] New: <img>.complete should return false for invalid images

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 30 00:54:07 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=28832

           Summary: <img>.complete should return false for invalid images
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: gavin.sharp at gmail.com


This is the same bug as https://bugzilla.mozilla.org/show_bug.cgi?id=513541 .

Quoting
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-August/022452.html :

> The current HTML 5 draft says:
> 
> "The DOM attribute complete must return true if the user agent has 
> downloaded the image specified in the src attribute, and it is a valid 
> image, and false otherwise."

> The "and it is a valid image" part seems to contradict the current 
> behavior of Safari 3.0.2

(I've confirmed that this is still the case with WebKit nightlies.)

And from Hixie:

> My findings match yours. I have left the spec as is, for compatibility 
> with IE, and because it seems the most logical.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list