Skip to content

Empty canvas elements are serialized as broken images #533

@wwilsman

Description

@wwilsman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions