Focus worked the same way in Vanilla as mouseover did. The only difference was the method of changing the value.
Here’s a detailed outline: