docs: function getConstraintDimension(domNode, maxStyle, percentageProperty) {
  		var view = document.defaultView;
  		var parentNode = helpers$1._getParentNode(domNode);
  		var constrainedNode = view.getComputedStyle(domNode)[maxStyle];
  		var constrainedContainer = view.getComputedStyle(parentNode)[maxStyle];
  		var hasCNode = isConstrainedValue(constrainedNode);
  		var hasCContainer = isConstrainedValue(constrainedContainer);
  		var infinity = Number.POSITIVE_INFINITY;
  
  		if (hasCNode || hasCContainer) {
  			return Math.min(
  				hasCNode ? parseMaxStyle(constrainedNode, domNode, percentageProperty) : infinity,
  				hasCContainer ? parseMaxStyle(constrainedContainer, parentNode, percentageProperty) : infinity);
  		}
  
  		return 'none';
  	}