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.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Steven K.”
Will you provide the examples you created or a simplified repro?
Appreciate the help,
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?