}
hasChildren = true;
// if this is a 'use' element, get the actual shape used
if (child instanceof CSSImportNode) {
SVGOMCSSImportedElementRoot shadow =
(SVGOMCSSImportedElementRoot)
((CSSImportNode) child).getCSSImportedElementRoot();
if (shadow != null) {
Node shadowChild = shadow.getFirstChild();
if (shadowChild != null
&& shadowChild.getNodeType() == Node.ELEMENT_NODE) {
child = (Element) shadowChild;
}
}