Closed Bug 137207 Opened 23 years ago Closed 5 years ago

events don't fire on XUL in XBL bound to HTML

Categories

(Core :: XBL, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: myk, Unassigned)

References

Details

Events defined in attributes on XUL tags that are part of the content of an XBL binding don't fire when bound to an element in an HTML file. If bound to an element in a XUL file, however, the events do fire as expected.
I need more information. Can you produce a testcase?
Whiteboard: need info
Here's the testcase: HTML file: http://melez.com/xul-in-html/tc-bug-137207.html XBL that is bound to it: http://melez.com/xul-in-html/tc-bug-137207.xml XUL file with the same binding: http://melez.com/xul-in-html/tc-bug-137207.xul When you select an item in the menu, an alert dialog should pop up. This works as expected in the XUL version but not in the HTML version.
Blocks: remote-xul
The testcase seems to work now for html, so I think this bug has been fixed somehow. Using: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030505
Agreed. Resolving works-for-me.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Whiteboard: need info
I think this bug may have returned. On Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1, Myk's testcase at http://melez.com/xul-in-html/tc-bug-137207.html fails to pop up the expected alert window. The workaround given at http://www.melez.com/mozilla/xul-in-html/test3.html works fine for me, however.
This seems to be back, at least the testcase fails in trunk Firefox from 25th: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050425 Firefox/1.0+
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
QA Contact: ian → xbl
Assignee: hyatt → nobody

XBL is now disabled in Firefox (Bug 1583314) and is in the process of being removed from Gecko (Bug 1566221), so closing bugs requesting changes to its implementation as wontfix.

Status: REOPENED → RESOLVED
Closed: 22 years ago5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.