Element div = DOM.createDiv();
div.setInnerHTML(html);
Element firstChild = div.getFirstChildElement();
// support text node creation
if (firstChild != null) {
firstChild.removeFromParent();
}
return ((firstChild != null) ? firstChild : div).cast();
}
/**