Skip to content

On Safari: Empty span in text causes layout shifts #191

@michael

Description

@michael
Hel<span></span>lo world

causes subtle layout shifts:

empt-span-font-rendering.mov

I guess kerning and ligatures are affected somehow.

@johannesmutter any idea how we can render an empty span (as an anchor for popup positioning) but without affecting the rendering/layout?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions