Issue 366505 in chromium: Maxlength attribute doesn't work properly in Chrome

63 views
Skip to first unread message

chro...@googlecode.com

unread,
Apr 24, 2014, 1:54:58 AM4/24/14
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: Cr-UI Pri-2 Via-Wizard Type-Bug OS-Windows

New issue 366505 by ecomapp1...@gmail.com: Maxlength attribute doesn't work
properly in Chrome
http://code.google.com/p/chromium/issues/detail?id=366505

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/34.0.1847.116 Safari/537.36

Steps to reproduce the problem:
1. in html define input type as number and define max length.
2. In Browser you can see that its taking more than max length.
3.

What is the expected behavior?
It has stop taking input at max length.

What went wrong?
It has stop taking input at max length but it takes more then that.

Did this work before? N/A

Chrome version: 34.0.1847.116 Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 13.0 r0

IT work in mozila.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Apr 24, 2014, 2:19:15 AM4/24/14
to chromi...@chromium.org
Updates:
Labels: -Cr-UI Cr-Blink-Forms Cr-Blink-Forms-Number
Cr-Blink-Forms-Maxlength

Comment #1 on issue 366505 by tk...@chromium.org: Maxlength attribute
(No comment was entered for this change.)

chro...@googlecode.com

unread,
Apr 24, 2014, 5:29:29 AM4/24/14
to chromi...@chromium.org
Updates:
Cc: nyerrami...@chromium.org
Labels: Needs-Feedback

Comment #2 on issue 366505 by nyerrami...@chromium.org: Maxlength attribute
Thanks for the report.

Could you please provide any sample HTML file or example so that it would
be helpful for us to triage the issue further.

chro...@googlecode.com

unread,
Apr 29, 2014, 12:54:28 PM4/29/14
to chromi...@chromium.org

Comment #4 on issue 366505 by habib.vi...@samsung.com: Maxlength attribute
Probably this bug is invalid as maxlength does not apply for input type
number:
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary.

Not sure what's the right solution since browsers seem to be incompatible
Reply all
Reply to author
Forward
0 new messages