sdesai/yui3 — comment on commit 26c7d04a2de26948870ff29dbf107f75297eb8dd
File: src/widget/js/Widget.js line 1063
By ghinch:

If I'm reading this right, won't this only get called once? So depending on the event target, it'll either add focus if it's a Widget, or remove focus from the last focused Widget if not. But if you were to keep focusing on Widgets, they'd all have their "focused" attribute set true.