niklasvh/html2canvas — pull request #194 by chtefi (2013-04-19 14:02:22+00:00)
Title: fixed topPos NaN when bgposition is cover/contain

topPos is already set before when bgposition[0].match(/contain|cover/)