percy-agent icon indicating copy to clipboard operation
percy-agent copied to clipboard

Empty canvas elements are serialized as broken images

Open wwilsman opened this issue 5 years ago • 0 comments

Given an empty canvas element, it will be serialized as the following DOM:

<img style="max-width: 100%" class="percy-canvas-image" src="data:," data-percy-canvas-serialized="true">

Which results in this screenshot:

image

In these instances, it's probably best if the canvas is not serialized and left alone to avoid broken images

wwilsman avatar Jul 08 '20 15:07 wwilsman