Skip to content

CSS border-radius makes pdf rendering very slow #396

@mndzielski

Description

@mndzielski

Hi, I discover that using border-radius with background-image makes that pdf is rendering much longer.

CSS code here:
div.avatar { margin-left: auto; margin-right: auto; height: 200px; width: 160px; background-size: cover; background-position: center center; background-repeat: no-repeat; border-radius: 4px; background-image: url(' base64 here ...') }

HTML:
<div class="avatar"></div>

With border-radius property process takes ~8000ms,
without <70ms. Is there any solution to provide better performance?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions