IE11 canvas drawImage IndexSizeError

Won’t fix Issue #10496262

Details

Created
Jan 11, 2017
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

日本語で失礼します。

IE11 にて canvas の drawImage を利用した際に、width が大きな値だと IndexSizeError となるのは canvas の設定で回避できるものでしょうか?

具体的には以下のコードを開発者ツールのコンソールで実行していただければ再現するかと思います。

var canvas = document.createElement('canvas');
var canvas2 = document.createElement('canvas');
canvas2.width = 100000;
document.body.appendChild(canvas);
var ctx = canvas.getContext('2d');
ctx.drawImage(canvas2, 0, 0, 16385, 100, 0, 0, 100, 100); // IndexSizeError

16385 の個所が 16384 までの値であれば通ります。

var canvas = document.createElement('canvas');
var canvas2 = document.createElement('canvas');
canvas2.width = 100000;
document.body.appendChild(canvas);
var ctx = canvas.getContext('2d');
ctx.drawImage(canvas2, 0, 0, 16384, 100, 0, 0, 100, 100); // not error

以上です。
ご確認のほど、どうぞよろしくお願いいたします。

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Ibrahim O.”

      Changed Assigned To to “Brad E.”

      Changed Status to “Won’t fix”

    • Hello,

      Thank you for providing your feedback on IE11. We are not accepting feedback on Internet Explorer through this portal any longer (unless security related). We welcome any feedback you have on Microsoft Edge through this website.

      Best Wishes,
      The MS Edge Team

    You need to sign in to your Microsoft account to add a comment.

    Sign in