have this html:
Text to delete >
Seems to work by default (without any javascript) in latest Chrome version (I've tested with 61.0.3163.100).