docs: function getViewContext(element) {
  
  	var parent_styles,
  	    overflow_x,
  	    overflow_y,
  	    overflow,
  	    parent = element.parentNode,
  	    result;
  
  	if (!parent) {
  		result = null;
  	} else if (isDocumentElement(parent)) {
  		result = parent;
  	} else {
  		parent_styles = getStyle(parent);
  
  		overflow = parent_styles.overflow;
  		overflow_x = parent_styles['overflow-x'];
  		overflow_y = parent_styles['overflow-y'];
  
  		if (   makes_context[overflow]
  			|| makes_context[overflow_x]
  			|| makes_context[overflow_y])
  		{
  			result = parent;
  		} else {
  			result = getViewContext(parent);
  		}
  	}
  
  	return result;
  }