Skip to content

Wrong position for tspan elements in Chrome #1

@louisameline

Description

@louisameline

Hello,

this is not an issue with your library, but an issue in Chrome: the coordinates are wrong for tspan, as getBBox returns the coordinates of the containing text element instead. Reported to the Chromium team here:

https://bugs.chromium.org/p/chromium/issues/detail?id=349835&q=tspan%20bbox&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Component%20Status%20Owner%20Summary%20OS%20Modified

There seems to be a workaround, using other techniques. I thought I'd just mention it in case you wanted to include a fix for that in your library, but it's entirely up to you :) Thank you.

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