SVGOMCSSImportedElementRoot root;
root = new SVGOMCSSImportedElementRoot(document, e, isLocal);
root.appendChild(localRefElement);
if (gn == null) {
gn = new CompositeGraphicsNode();
} else {
int s = gn.size();
for (int i=0; i<s; i++)
gn.remove(0);
}