code: function (key, value) {
                  if (docMode8) { // IE8 setAttribute bug
                      this.element[key] = value;
                  } else {
                      this.element.setAttribute(key, value);
                  }
              }
docs: Used in SVG only