broken handing onkeyup when you type text too fast in input

UNCONFIRMED
Unassigned

Status

()

Core
DOM: Events
UNCONFIRMED
10 years ago
6 years ago

People

(Reporter: Robert, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9

This is simple file trying to produce javascript auto-inline-complete edits in forms.

Function is handled on KeyUp event and work without problem when you type text slow. When you start to type fast it broke - like you have already enter full sentence.

Function is using selectionStart and selectionEnd properties of input object.

In Opera theres no problem with this example.

Reproducible: Always

Steps to Reproduce:
Start to type "foo bar foo bar foo bar..." fast in edit.
You need to log in before you can comment on or make changes to this bug.