function getSanitizedInlineStyle(sourceCss, urlRewrite = undefined) {
  try {
    return SafeStyle.unwrap(CssSanitizer.sanitizeInlineStyle(
               getStyleFromCssText(sourceCss), urlRewrite)) ||
        '';
  } catch (err) {
    // IE8 doesn't like setting invalid properties. It throws an "Invalid
    // Argument" exception.
    throw err;
  }
}
Gets sanitized inline style.
@param {string} sourceCss CSS to be sanitized.
@param {function (string, string):?SafeUrl=} urlRewrite URL rewriter that
    only returns a SafeUrl.
@return {string} Sanitized inline style.