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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 20 04:47:09 PDT 2012


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





--- Comment #14 from Jussi Kukkonen <jussi.kukkonen at intel.com>  2012-08-20 04:47:45 PST ---
Created an attachment (id=159395)
 --> (https://bugs.webkit.org/attachment.cgi?id=159395&action=review)
test for img.complete

This test shows values for img.complete for various images for 0.5 seconds. The results currently look like this:

---
* Testing decodable-visible
  image is complete? false
  image is complete? true
  image is complete? true
  image is complete? true
  image is complete? true

* Testing decodable-hidden
  image is complete? true
  image is complete? true
  image is complete? true
  image is complete? true
  image is complete? true

* Testing broken-visible
  image is complete? false
  image is complete? false
  image is complete? false
  image is complete? false
  image is complete? false

* Testing broken-hidden
  image is complete? true
  image is complete? true
  image is complete? true
  image is complete? true
  image is complete? true
---

Things to note:
1. first result for decodable & visible is "not complete". Would be nice to get that fixed
2. broken and hidden images return "complete", this is not optimal but I think the best we can do.

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