On 1/23/12 2:55 PM, Dean Jackson wrote:
On 17/01/2012, at 10:41 AM, Bear Travis wrote:

<img id="image" src="sample.jpg"
     onloadstart="showProgressBar()"
     onprogress="updateProgressBar(event)"
     onloadend="hideProgressBar()"/>

Developers have taken various tacks to enable progress reporting, for example
in some cases XHR can be used to download image files.  Max Vujovic just
published a blog about the practicalities of doing so:
http://blogs.adobe.com/openweb/2012/01/13/html5-image-progress-events/.  We
think it would be preferable to provide support for image progress events
directly.
I think this would be extremely useful. It would require a proposal to
W3C or WHATWG though.

Seems like this would need to follow CORS.
Even disclosing the file size is going too far for cross-domain without CORS.

-Charles
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to