tomayac/xywh.js — pull request #1 by mrgreenh (2013-07-10 17:44:17+00:00)
Title: Added support to client-side scaled images

Hello, I added the support for images scaled client-side. Media fragments defined on them weren't showed correctly because the background image applied by the script wasn't scaled accordingly.

I think it's important to underline that since I used CSS3 and .naturalWidth this commit might narrow the range of supported browsers. More details are in the first commit's description of my branch.