SVG text not rendering with textLength attribute #6389
Open
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
- Create SVG with text element using the
textLength
attribute - Load SVG on page with specific ID
- Load canvas on page
- 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