make whitespace significant when measuring textareas and text fields