Closed Bug 312312 Opened 19 years ago Closed 19 years ago

"tab" then "shift+tab" allows overloading of the maxlength of texboxes

Categories

(Firefox :: Keyboard Navigation, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 207623

People

(Reporter: cadeau, Unassigned)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.7.5) Gecko/20041108 Firefox/1.0

On FireFox, in a textbox (asp.net textboxes), with maxlenth=10, it is possible 
to add a new caracter at the beginning or at the end of the string, evenif the 
maximum caracter length is already reached.

Exemple : in a day date textbox (dd/mm/aaaa), seize "11", keypress "tab" to 
focus on the month date textbox, keypress "Shift + Tab" to focus back to the 
day date textbox, keypress right or left arrow and "1" : The result is "111" in 
a textbox which maxlength=2 !!?

Reproducible: Always

Steps to Reproduce:
1.in a day date textbox (dd/mm/aaaa), seize "11", 
2.keypress "tab" to focus on the month date textbox, 
3.keypress "Shift + Tab" to focus back to the day date textbox, 
4.keypress right or left arrow and "1"
Actual Results:  
The result is "111" in a textbox which maxlength=2 !!?

Expected Results:  



HELP URGENTLY :-)

If there's a maxlength on a textbox, FireFox should block the number of 
caracter in each case...
Could you test this with Firefox1.5beta2?

*** This bug has been marked as a duplicate of 207623 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.