Regrettably most browsers cannot do line breaks in SVG <text> elements. Therefore we currently use <foreignObject>s with a <div> inside. But that doesn't work in IE and we use a simple <text> 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).