docs: function elementAtRectPoints(element, rect) {
  
  	var sample;
  
  	// Get the first sample
  	sample = document.elementFromPoint(rect.left, ~~rect.top);
  
  	if (sample == element || isChild(element, sample)) {
  		return true;
  	}
  
  	// Get the second sample
  	sample = document.elementFromPoint(rect.left, ~~rect.bottom);
  
  	if (sample == element || isChild(element, sample)) {
  		return true;
  	}
  
  	// Get the third sample
  	sample = document.elementFromPoint(rect.right, ~~rect.bottom);
  
  	if (sample == element || isChild(element, sample)) {
  		return true;
  	}
  
  	// Get the fourth sample
  	sample = document.elementFromPoint(rect.right, ~~rect.top);
  
  	if (sample == element || isChild(element, sample)) {
  		return true;
  	}
  
  	return false;
  }