Update svg.foreignobject.js

Now setting attributes of newChilds will work for every attribute