What would it mean if the KeyboardEvent.repeat attribute were true for a keyup event? Is it allowed? The spec doesn't seem to address this question. In the keyup section, the bullet point for KeyboardEvent.repeat says the same thing as for keydown:
true if a key has been depressed long enough to trigger key repetition, otherwise false
I think more clarity is needed here.