[Webkit-unassigned] [Bug 21271] New: Maxlength limits value
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 1 02:51:28 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=21271
Summary: Maxlength limits value
Product: WebKit
Version: 525.x (Safari 3.1)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: christian at bilbasen.dk
An input field defined like this:
input type="text" value="Enter zipcode" maxlength="5"
will only show "Enter" when loaded in a Webkit browser. It seems that the
maxlength attribute limits the value.
w3c defines maxlength as "the maximum number of characters the *user* may
enter."
See
http://www.w3.org/TR/1998/REC-html40-19980424/interact/forms.html#adef-maxlength
MS describes it like this: "The maxLength property limits the number of
characters the user can enter. The property does not limit programmatic
assignments to the value property."
See http://msdn.microsoft.com/en-us/library/ms534157(VS.85).aspx
This bug is a showstopper on sites where the value of the field is compared to
the initial value.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list