RESOLVED INVALID38678
Though the maxlength is defined as "5" characters, Text field shows more than 5 characters.
https://bugs.webkit.org/show_bug.cgi?id=38678
Summary Though the maxlength is defined as "5" characters, Text field shows more than...
Prasad
Reported 2010-05-06 13:14:02 PDT
Created attachment 55289 [details] XHTML page Steps To Reproduce ------------------- 1. Launch the attached HTML page with the web browser. 2. Check the Username and Password text fields. Expected Outcome: ----------------- Username and Password text fields should NOT display more than 5 characters. (as maxlength is defined as "5") Actual Outcome: -------------- More characters displayed than the defined maxlength Behaviour in different browsers: -------------------------------- Qt Anomaly Browser: Reproducible Firefox (ver 3.6.3): Reproducible. Safari (Ver 4.0.5) : Not Reproducible.
Attachments
XHTML page (873 bytes, application/xhtml+xml)
2010-05-06 13:14 PDT, Prasad
no flags
Alexey Proskuryakov
Comment 1 2010-05-07 13:49:52 PDT
This is not Qt-specific, as Mac WebKit nightlies behave in the same way. This change in behavior was an intentional bugfix, see bug 21271.
Kent Tamura
Comment 2 2010-05-08 05:24:02 PDT
Yes, this behavior conforms to HTML5. Browsers show default values longer than maxLength, but users can not input a value longer than maxLength.
Note You need to log in before you can comment on or make changes to this bug.