Open Bug 952986 Opened 11 years ago Updated 2 years ago

Animation events not fired on disabled form element

Categories

(Core :: DOM: Events, defect)

x86
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: naugtur, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release)
Build ID: 20131206151626

Steps to reproduce:

1. Create a CSS animation and use that on an input element
2. Add a listener for animationstart event (or any other animation event)
3. Add a disabled input element to DOM
4. Wait infinitly for the event to be triggered ;)

See also: 
Original testcase that reveals the issue:
testcase "should react to a disabled input insertion" from http://naugtur.pl/insertionQuery/ (URL contents can change in the future)

Commit with the testcase:
https://github.com/naugtur/insertionQuery/commit/65603456e0003f616d89c015248e449cbe2cea7a



Actual results:

The event listener never runs


Expected results:

The animation* events are triggered for disabled elements as well
Confirmed on Firefox 26!
Can reproduce on firefox 44. Annoying behavior.

Bumping because this is still actual and still annoying.
Can provide a test file to reproduce, if needed.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.