This tests to see where the selection is set when an html element is focused.
We set it inside the body because we don't want to allow editing outside the body.