Accessing Document.activeElement shouldn't force a synchronous style recalc.
Created attachment 241825 [details] Patch
Committed r176294: <http://trac.webkit.org/changeset/176294>