Closed Bug 833367 Opened 13 years ago Closed 13 years ago

blur event not fired when input element is removed

Categories

(Core :: DOM: Events, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 559561

People

(Reporter: tom, Unassigned)

Details

Attachments

(1 file)

Attached file index.html —
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.36 Safari/537.22 Steps to reproduce: 1. An input element has a listener for the 'blur' event attached 2. That element or its parent is removed from the DOM Reduced test case is attached. Actual results: A blur event is not fired. Expected results: A blur event should be fired. The element loses focus because it is no longer in the DOM.
Component: Untriaged → DOM: Events
Product: Firefox → Core
Version: Trunk → 18 Branch
Version: 18 Branch → Trunk
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: