Closed
Bug 73821
Opened 23 years ago
Closed 22 years ago
XML and HTML elements don't compile handlers on insertion
Categories
(Core :: DOM: Events, defect)
Core
DOM: Events
Tracking
()
VERIFIED
WORKSFORME
mozilla1.0.1
People
(Reporter: dr, Assigned: hyatt)
References
Details
Attachments
(1 file)
557 bytes,
text/html
|
Details |
XML and HTML elements, when inserted into a document, don't compile their event handlers. XUL elements do. This means, among other things, that event handlers on XBL (non-XUL) anonymous content don't work.
Blocks: 40105
Keywords: mozilla0.9
Comment 2•23 years ago
|
||
Related, but not a dup. I assume that this is about not compiling event handlers that are set as "onclick='...'" attributes in the HTML/XML source, right?
Assignee | ||
Comment 3•23 years ago
|
||
Yeah. I could patch this pretty easily (since this works in XUL), but I'm wondering if I should wait until after jst lands his branch.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.1
Johnny: yeah, it's about the attributes. It's like 26528, but we don't care if the actual attributes are copied or not as long as the handlers are compiled...
Comment 5•23 years ago
|
||
hyatt, please do wait with this until my xpconnec changes are checked in, thanks.
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.1 → mozilla1.0.1
Comment 6•22 years ago
|
||
Is this issue resolved?
Works for me in the testcase I just attached. I'm not sure this is exactly the testcase we were dealing with before, but it's been over a year and a half, so I wouldn't be surprised if somebody fixed this already.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•