BUG ID: Bugzilla bug 8324 REGRESSION: textarea :focus not applied immediately

STEPS TO TEST: Click in the red text area below.

TEST PASS: The text area’s background will change from red to green.

TEST FAIL: The text area will not change to green. Only switching to another window and back to this window will change it to green.