Images not always showing by drawing DOM objects into canvas.

Issue #14695695 • Assigned to Steven K.


Niels Z.
Nov 16, 2017
This issue is public.
Found in
  • Microsoft Edge
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

I am drawing multiple DOM objects into a canvas. I nest XHTML inside the <foreignObject>. Beside text there are also base64 images in the XHTML. In most of the cases it works very well. Except for some where images are bit more width than others. Then images don’t show up into the canvas. This should’nt be a problem in my opinion.

I did a lot of debug and I created two very basic examples (a working and a non-working one). And the only difference between those two examples was the width and height of both images.

I am pretty sure now that this is a browser issue which I can’t solve.


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

    • Hi Niels,

      Will you provide the examples you created or a simplified repro?

      Appreciate the help,


    • Hi steve,

      This JsFiddle demonstrates the two examples:

      Where you need to switch the comments for the images to see the difference.


    • Any status update on this?

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

    Sign in