@Jason, nicely done. It helps a lot. Do you have any hints on how to progress a wrap which will be applied dynamically? Should I leave the D3 and focus on the css3 exclusions (I can try to dynamically give values to the .exclusion, see use case 5
here)? The only problem is that it will be widely accepted standard in 3 years from now...
@Marc, I wasn't familiar with the measureText function. This is a good option and I will take a look at it.
When thinking about it from a wide point of view, each SVG element have attributes of its location and its dimensions, the same goes for text (where word is the nucleus element and it's location attribute is somewhat deeper in the page). It sounds quite logic to me that there must be some simple way to break text which is embedded within SVG canvas based on the other embedded elements properties.
So far I haven't managed to discover this "simple way", but It seems to me rather basic feature, so I hope I'll find it out soon.
Thanks for both of you for the reply.