Skip to content

SVG text not rendering with textLength attribute #6389

Open
@michaelbrawn

Description

Version

3.6.3

Test Case

https://jsfiddle.net/michaelbrawn/ocfvhpdr/123/

Information about environment

Nodejs or browser?
Browser
Which browsers?
Chrome Version 83.0.4103.97 (Official Build) (64-bit)

Steps to reproduce

  1. Create SVG with text element using the textLength attribute
  2. Load SVG on page with specific ID
  3. Load canvas on page
  4. Use loadSVGFromString to load SVG by ID onto canvas

Expected Behavior

Text should load with same textLength as SVG on page

Actual Behavior

textLength attribute is ignored

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