This is a user implementation of functionality that is not natively supported by current browsers. Rey needs a global "selection" event mechanism which is only available on input and textarea elements (on those you could probably use the "select" event).

For this reason I don't think there are specifications defining this exact behavior.