[BUG #7848] Added API documentation for "getCurrentTarget" as well as an unit test to make sure the implementation works cross-browser.
Minor API documentation adjustment to emphasize the element is *not displayed* and not hidden (which might lead the developers to the conclusion the documentation is talking about the "visibility" style property).