function setCssProperty(cssStyle, propName, sanitizedValue) {
  genericMethodCall(
      Methods.SET_PROPERTY, cssStyle,
      cssStyle.setProperty ? 'setProperty' : 'setAttribute',
      [propName, sanitizedValue]);
}
Provides a cross-browser way to set a CSS value on a CSS declaration.
@param {!CSSStyleDeclaration} cssStyle A CSS style object.
@param {string} propName A property name.
@param {string} sanitizedValue Sanitized value of the property to be set
    on the CSS style object.
@supported IE8 and newer.