docs: function setAttribute(element, name, value) {
    assertType(element, Node, false, 'Invalid element specified');
    if (value === undefined || value === null || value === false)
      element.removeAttribute(name);
    else if (value === true)
      element.setAttribute(name, '');
    else
      element.setAttribute(name, value);
    if (name === 'disabled' && element.setDirty)
      element.setDirty(DirtyType.STATE);
  }