doesElementContainSelection: slightly better doc