Closed Bug 1413804 Opened 8 years ago Closed 8 years ago

input maxlength doesn't allow cursor in if that many characters are in

Categories

(Core :: DOM: Core & HTML, defect)

56 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jmichae3, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20171024165158 Steps to reproduce: put maxlength on 2. put in 2 characters. Actual results: cursor becomes disabled or goes away Expected results: insertion bar should remain in place so user can backspace or left-arrow or home.
Component: Untriaged → DOM
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
sorry - I tested this again after seeing this bug years ago, and it is working. just keep working folks, and do a good job. thanks. sorry for the noise. this was lazy of me.
here's the test file, but you have to manually put in characters and check for a visible insertion bar (that it has focus?), i don't know how you do that with your test suite. <!DOCTYPE html> <html> <head><title>maxlength test of input tag</title></head> <body> <form> <input type="text" name="something" value="123" maxlength="3"> </form> </body> </html>
it was as far back as 3.x I think. like I said - I was being lazy.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.