Closed Bug 433574 Opened 16 years ago Closed 15 years ago

html:input textboxes send oninput incorrectly when undoing from empty state

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 318065

People

(Reporter: matt, Unassigned)

References

Details

Attachments

(1 file)

Attached file Example HTML
When undoing from an empty state to a previous value, textboxes send oninput BEFORE updating to the new value.  Compare this with textarea textboxes, which send the event after updating.

STR:
* Open the attached sample html file
* Follow the included directions
* Note the difference between textarea and input type="text"

This issue is likely the cause of Bug 304145 and possibly a few others.

This is fundamental behaviour and should work as expected.  Then again, fixing it may break existing validation scripts.

Thoughts?
Blocks: songbird
This isn't a regression from 1.8, right?  What does IE do?

It's a little odd that the behavior here is different...
Yeah.

I see the same problem in 1.8, so this isn't a regression. As for other browsers, Internet explorer doesn't support oninput at all, and Safari doesn't support oninput on the textarea, but handles the text input correctly.

Seems safe to fix. 
This looks like bug 318065...
Yep.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.