docs: function findClosestParent(startElement, fn) {
              var parent = startElement.parentElement;
              if (!parent) {
                  return undefined;
              }
              return fn(parent) ? parent : findClosestParent(parent, fn);
          }