function getStyle(safeHtml) {
  const tmpElement = dom.safeHtmlToNode(safeHtml);
  return tmpElement.style ? tmpElement.style.cssText : '';
}
@param {!SafeHtml} safeHtml Sanitized HTML which contains a style.
@return {string} cssText contained within SafeHtml.
@suppress {strictMissingProperties} suppression added to enable type checking