Last modified: 2011-12-01 13:16:17 UTC
Created attachment 9576 [details] Screenshot including firebug Special:VipsTest sometimes puts the wrong height and width on the div containing the image. Since the overflow is hidden, the result is not pretty. The size appears to be acquired while the image loads. If you refresh the page, the image is already cached by the browser, and the correct size is used. See attached screenshot.
I suspect this happens if the the images are not yet ready when the ucompare initialization function is called. This is because the $(document).ready() does not guarantee all assets to be loaded. We should hook into $(document).load() instead.
Fixed in r104733.
merged in wmf by r104849. Pending deployment.
merged by Tim \o/