[Webkit-unassigned] [Bug 48306] Fix LayoutTests/canvas/philip/tests/2d.drawImage.incomplete.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 3 16:58:41 PDT 2010


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


Matthew Delaney <mdelaney at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-unassigned at lists.web |mdelaney at apple.com
                   |kit.org                     |
                 CC|                            |excors at gmail.com,
                   |                            |simon.fraser at apple.com




--- Comment #1 from Matthew Delaney <mdelaney at apple.com>  2010-11-03 16:58:41 PST ---
I believe this test is incorrect in the way that it creates an image that is supposed to have its complete attribute set to false. Per the spec, an <img> without a src attribute specified should have complete return true:

""
The IDL attribute complete must return true if any of the following conditions is true:

The src attribute is omitted.
The src attribute's value is the empty string.
The final task that is queued by the networking task source once the resource has been fetched has been queued, but has not yet been run, and the img element is not in the broken state.
The img element is completely available.
""
from http://dev.w3.org/html5/spec/Overview.html#dom-img-complete

I'm going to modify the test to create the image and then set its src attribute to be a non-existent file. This will cause the image to have complete=false.

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