src/util/animation.js
function getComputedCSS(styleName) {
  if (this.ownerDocument.defaultView && this.ownerDocument.defaultView.opener) {
    return this.ownerDocument.defaultView.getComputedStyle(this)[styleName];
  }
  return window.getComputedStyle(this)[styleName];
}
function getComputedCSS(styleName) {
  if (this.ownerDocument.defaultView && this.ownerDocument.defaultView.opener) {
    return this.ownerDocument.defaultView.getComputedStyle(this)[styleName];
  }
  return window.getComputedStyle(this)[styleName];
}
function getComputedCSS ( styleName ) { if ( this . ownerDocument . defaultView && this . ownerDocument . defaultView . opener ) { return this . ownerDocument . defaultView . getComputedStyle ( this ) [ styleName ] ; } return window . getComputedStyle ( this ) [ styleName ] ; }
Get the computed style on an element.
Get the computed style on an element .