<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div><div>Hello Webkit,</div><div><br></div><div>A group of us at Adobe has been looking into adding support for ProgressEvents </div><div>to images.  The overall goal is to simplify image download progress reporting </div><div>by supporting roughly the same progress events as XHR and the File API for </div><div>image elements.   For example one could connect an image to a progress element </div><div>like this:</div><div><br></div><div><img id="image" src="sample.jpg"</div><div>    onloadstart="showProgressBar()"</div><div>    onprogress="updateProgressBar(event)"</div><div>    onloadend="hideProgressBar()"/></div><div><br></div><div>Developers have taken various tacks to enable progress reporting, for example </div><div>in some cases XHR can be used to download image files.  Max Vujovic just </div><div>published a blog about the practicalities of doing so: </div><div>http://blogs.adobe.com/openweb/2012/01/13/html5-image-progress-events/.  We </div><div>think it would be preferable to provide support for image progress events </div><div>directly.</div><div><br></div><div>We're working on a prototype implementation for WebKit and have filed a bug </div><div>that explains what we're up to in a little more detail: </div><div>https://bugs.webkit.org/show_bug.cgi?id=76102</div><div><br></div><div>It's probably worth pointing out that the beforeload event, which is currently </div><div>under discussion, addresses a different use case.  Our proposal is intended to </div><div>enable applications to give the user feedback about image download progress, </div><div>it's not intended to enable security or efficiency by preemptively blocking or </div><div>transforming image downloads.</div><div><br></div><div>We'd appreciate feedback on this proposal.</div></div></body></html>