function updateSvgTransformAttr(window, element) {
    if (!element.namespaceURI || element.namespaceURI.indexOf('/svg') == -1) {
      return false;
    }
    if (!(SVG_TRANSFORM_PROP in window)) {
      window[SVG_TRANSFORM_PROP] =
          /Trident|MSIE|IEMobile|Edge|Android 4/i.test(window.navigator.userAgent);
    }
    return window[SVG_TRANSFORM_PROP];
  }
IE/Edge do not support `transform` styles for SVG elements. Instead,
`transform` attribute can be animated with some restrictions.
See https://connect.microsoft.com/IE/feedback/details/811744/ie11-bug-with-implementation-of-css-transforms-in-svg,
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/1173754/,
https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/101242/, etc.
The same problem is exhibited by pre-Chrome Android browsers (ICS).
Unfortunately, there's no easy way to feature-detect it.