<input type='search'/> shows 'x' icon in the input field that can be used to clear any content in the field. The selection range is briefly shown on the content before the content is removed from the field. The content should probably be removed without the selection range being shown on the content.