Events order test case

This is a test case to illustrate a difference between IE and Firefox where an event handler triggered during another event handler is run in a slightly different order.

In Firefox (and other browsers) the focus event handler is run as soon as the focus is transferred to the button. In IE the focus event handler runs when the input's click handler has finished running.