jQuery Mysterious Code question

jQuery Mysterious Code question


What does the following do?
        // Opera sometimes will give the wrong display answer, this fixes
it, see #2037
        if ( jQuery.browser.opera && name == "display" ) {
            var save = elem.style.outline;
            elem.style.outline = "0 solid black";
            elem.style.outline = save;
        }
I'm a JavaScript newbie, and to me I can't see that the code does
anything at all. Please explain how this works. Under what
circumstances won't the final line set elem.style.outline back to what
it started at?