This tests that setting display to 'none' for an element that's about to get focus doesn't crash.

THE TEST DID NOT RUN