"This [onfocus] attribute may be used with the following elements: A, AREA,
LABEL, INPUT, SELECT, TEXTAREA, and BUTTON."
So, Mozilla does not have to support onfocus for iframe.
Same thing with Opera 7.x's
"Show Active frame border setting (Preferences.../Page Style): When you view framed pages, the currently active frame will always be outlined."