this.blitImage(a.x, a.y, a.width, a.height, a.data, 0, true);
break;
case 'img':
- /* IE tends to set "complete" prematurely, so check dimensions */
- if (a.img.complete && (a.img.width !== 0) && (a.img.height !== 0)) {
+ if (a.img.complete) {
if (a.img.width !== a.width || a.img.height !== a.height) {
Log.Error("Decoded image has incorrect dimensions. Got " +
a.img.width + "x" + a.img.height + ". Expected " +