blob: 801dcdb6b7db200e94289f7bfca2459e85ece7eb [file] [log] [blame]
2d.drawImage.zerosource.image
drawImage with zero-sized source rectangle from image throws INDEX_SIZE_ERR
Actual output:
Expected output:
FAIL drawImage with zero-sized source rectangle from image throws INDEX_SIZE_ERR assert_throws: function "function () { ctx.drawImage(document.getElementById('red-zerowidth.svg'), 0, 0, 100, 50); }" did not throw