html5 - Can SVG content line-break using entity (or something else)? -



html5 - Can SVG <title> content line-break using &#10; entity (or something else)? -

i'm trying line-break content in mouseover ("tooltip"), placed svg document dom using <title> kid element.

firefox seems respect , place line-break want it. ie11, not. have not tried other browsers.

the xsl gens looks like,

<title><xsl:value-of select="concat('foo','&#10;','bar')"/></title>

i've tried <br/> no luck.

the document served browser "pure svg" document, is, root element <svg>. i'm using html5 doctype header, nil intentionally backwards compatible there.

thank you, stackoverflow friends!

html5 svg mouseover title line-breaks

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -