Canvas2d drawImage doesn't draw svg when shadow is set

Fixed Issue #12714443


Corinne M.
Jul 11, 2017
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

  1. Set shadowColor and either shadowOffsetX, shadowOffsetY, or shadowBlur on the canvas.
  2. Call drawImage with an svg image.
  3. Only the shadow appears, not the image.

If the shadow properties are not set, the svg image can be successfully drawn to the canvas. This issue doesn’t occur for non-svg images which appear successfully with their shadows when the shadow properties are set. Here is a fiddle demonstrating those three cases:


Comments and activity

  • Changed Steps to Reproduce

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

  • Hello,

    Thank you for providing this information about the issue. We are pleased to report this feature is fixed in Edge 16232 and is available in our latest Insider Preview build in the Fast ring. A screenshot is attached.

    Best Wishes,
    The MS Edge Team

  • Microsoft Edge Team

    Changed Status to “Fixed”

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

Sign in