When adding a decoration (such as the autofill button) to a focused text field, a "selectionchange" event is dispatched as the contenteditable element is moved around (removed and re-added to a different node) the subtree.
<rdar://problem/100992234>