Try delaying blanking out the textContent for a few milliseconds. For example:
document.querySelector('div').addEventListener('focus', function(event) {
setTimeout(function() {
event.target.textContent = '';
}, 5);
});
That will work around this issue in Safari on iOS 6.1.