function fragmentToHtml(fragment) {
  const testDiv = goog.dom.createElement(goog.dom.TagName.DIV);
  testDiv.appendChild(fragment);
  return elementToInnerHtml(testDiv);
}
Retrieves the content of document fragment as HTML.
@param {Node} fragment The document fragment.
@return {string} Content of the document fragment as HTML.