Basic Testing parsing some html foreignobject type stuff

Lets just get some text up and play. Note, foreignObject support in IE is not good.


var s = Snap("#svgout");

var fobjectSVG = '<svg><foreignObject width="80" height="200"><body><p>Here is a paragraph that requires word wrap</p></body></foreignObject></svg>';

var p = Snap.parse( fobjectSVG );

var g = s.group().append( p );

g.animate({ transform: 't300,0r45,50,50' }, 2000);


   


        
The actual svg markup looks like this (when you've clicked on run)....