Skip to content

"text-underline-offset" Property Not Rendered Correctly in Screenshots #303

@YuSong-ys

Description

@YuSong-ys

Describe it simply:

When using @zumer/snapdom to capture screenshots of HTML elements, the CSS text-underline-offset property is not being rendered correctly. The offset value is ignored, causing underlines to appear at their default position regardless of the CSS specification.

Quick demo to reproduce

<style> .underlined-text { text-decoration: underline; text-underline-offset: 0.5em; /* Alternative with custom underline */ text-decoration: underline wavy #e74c3c; text-underline-offset: 4px; } </style>
This text should have an offset underline, but it renders at default position.

Anything else we should know?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions