3 ms·
> Text in SVG is just as good as text in HTML, except inasmuch as nothing implements runtime (font-dependent) line wrapping, so it’s kinda more like HTML with w
by jancsika 5y ago
> Text in SVG is just as good as text in HTML, except inasmuch as nothing implements runtime (font-dependent) line wrapping, so it’s kinda more like HTML with white-space:nowrap.
That's quite a caveat. How many current webpage designs depend on wrapping happening in exactly the same way across all browsers and device dimensions?
- RyanGoosling 5y agoTry any Bootstrap site
- duped 5y agoIt's hardly a caveat for SVG - where you usually want total control over the placement of the text elements. If you want it to look like a document with wrapping then use HTML for your text, not SVG