openseadragon/openseadragon — pull request #122 by Ventero (2013-06-03 18:21:20+00:00)
Title: Improve performance of Tile#drawHTML.

By specifying the tile size in absolute pixel values instead of percentages, we can save the call to $.getElementSize. When forcing OpenSeadragon to use the HTML path instead of canvas, this simple optimization reduce the total runtime by about 10% (tested in FF22).

Note that this essentially reverts parts of 6efc348b8aa63b6812e70bbd6338362fe6108c5c. I'm not sure why this change was added in that commit, but in my tests in FF22, Chrome 29 and IE10, I couldn't see any visual difference (and there shouldn't be any, as both ways of setting the position/size should be equivalent).