Closed Bug 215879 Opened 21 years ago Closed 21 years ago

onChange for <select> not fired when page served as application/xhtml+xml

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: berend, Assigned: saari)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 onChange event is fired when page is loaded with extension .html and it isn't fired when loaded with extension .xhtml. Reproducible: Always Steps to Reproduce: 1. Load test.html 2. Click on combobox and select "No second". Actual Results: Nothing happens when you load test.xhtml. You see "Hello" when you load test.html. Expected Results: Display "Hello". Linux version as same behaviour.
Attached file Example that works
Save test.html as test.xhtml to have it served as application/xhtml+xml. I cannot create an attachment that will be served like this, else you could just click on both to see the difference in behaviour.
> I cannot create an attachment that will be served like this Sure you could; just set the content type in the attachment upload form.... In any case, this bug is invalid. XML (and hence XHTML) is case-sensitive; "onchange" and "onChange" are hence different attributes. The former is an event handler. The latter is nothing in particular.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: