Closed
Bug 439998
Opened 16 years ago
Closed 16 years ago
onfocus DOM events are not inherited (bubble up)
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mrj, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9) Gecko/2008052912 Firefox/3.0 Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9) Gecko/2008052912 Firefox/3.0 onfocus DOM events are not inherited (bubble up). Reproducible: Always Steps to Reproduce: 1.Load http://mrj.bpa.nu/f.html 2.Click in top box 3.Click in bottom box Actual Results: An 'x' is only added to the status bar when the bottom box is given focus. Expected Results: An 'x' should be added to the status bar when either box is given focus. HTML to reproduce: <div onfocus="window.status += 'x'"> <input type="text"/> </div> <input type="text" onfocus="window.status += 'x'"/>
http://www.w3.org/TR/DOM-Level-3-Events/events.html#event-focus specifies that this event must not bubble.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 2•16 years ago
|
||
OK, thanks Aiko. Some code that worked in FF2 does not work in FF3, so it's FF2 that's out of spec.
Did you really test this with text inputs? If not you were probably seeing bug 238987 in Fx 2.
Reporter | ||
Comment 4•16 years ago
|
||
It looks like it was indeed #238987, because I only get the bubble on a select under FF 2.0.0.14. I failed to find this bug in my searches prior to submission, and failed to narrow down the unexpected behaviour. Thanks for setting me straight.
You need to log in
before you can comment on or make changes to this bug.
Description
•