Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No automatic line break in Internet Explorer #1

Open
jschirrmacher opened this issue Feb 14, 2017 · 0 comments
Open

No automatic line break in Internet Explorer #1

jschirrmacher opened this issue Feb 14, 2017 · 0 comments

Comments

@jschirrmacher
Copy link
Member

Regrettably most browsers cannot do line breaks in SVG elements. Therefore we currently use s with a

inside. But that doesn't work in IE and we use a simple instead - which doesn't do line breaks...

Someone could calculate line breaks by using getComputedTextLength() function (like in http://stackoverflow.com/questions/7046986/svg-using-getcomputedtextlength-to-wrap-text).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant