background-gradient: Removed unused closestPointOnUnitLine() function.