src/basis/cssom.js
function setStyle(node, style){
    for (var key in style)
      setStyleProperty(node, key, style[key]);

    return node;
  }
function setStyle(node, style){
    for (var key in style)
      setStyleProperty(node, key, style[key]);

    return node;
  }
function setStyle ( node , style ) { for ( var key in style ) setStyleProperty ( node , key , style [ key ] ) ; return node ; }
Apply new style properties for node.
@param {Element} node Node which style to be changed.
@param {object} style Object contains new values for node style properties.
@return {Element}
Apply new style properties for node .