function isTextInputElement(elm) {
			var tagName = elm.tagName.toUpperCase();

			// Notice: since type can be "email" etc we don't check the type
			// So all input elements gets treated as text input elements
			return tagName == "INPUT" || tagName == "TEXTAREA" || tagName == "SELECT";
		}
Is the element a text input element or not.

@private
@param {Element} elm Element to check if it's an text input element or not.
@return {Boolean} True/false if the element is a text element or not.