Closed Bug 388746 Opened 17 years ago Closed 17 years ago

Mutation events don't work with input element

Categories

(Core :: DOM: Events, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

References

Details

(Keywords: regression)

Attachments

(2 files)

Attached file testcase
The problem with disabled form controls is bug 329509.
Attached patch proposed patchSplinter Review
At least allow event handlers to be called even if there is no prescontext. Just no default handling for the event. PostHandleEvent has if (!aVisitor.mPresContext) { return NS_OK; } I really want to find out some reasonable fix for bug 329509 too, but before that better to fix mutation events.
Assignee: nobody → Olli.Pettay
Status: NEW → ASSIGNED
Attachment #272941 - Flags: superreview?(bzbarsky)
Attachment #272941 - Flags: review?(bzbarsky)
OS: Linux → All
Comment on attachment 272941 [details] [diff] [review] proposed patch Sounds good. Please check in a mochitest?
Attachment #272941 - Flags: superreview?(bzbarsky)
Attachment #272941 - Flags: superreview+
Attachment #272941 - Flags: review?(bzbarsky)
Attachment #272941 - Flags: review+
Will check in mochitest tomorrow.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Flags: in-testsuite? → in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: