Skip to main content

Bug Tracker

Side navigation

#3468 closed bug (duplicate)

Opened October 11, 2008 07:17AM UTC

Closed March 17, 2009 10:01PM UTC

maxlength attribute matches and returns -1 when not specified

Reported by: Phrogz Owned by: flesler
Priority: critical Milestone: 1.3
Component: unfiled Version: 1.2.6
Keywords: Cc: !@phrogz.net
Blocked by: Blocking:
Description

With <input type="text|hidden"> with no maxlength attribute specified, this selector "input[maxlength]" matches the input. Further, theField.attr('maxlength') returns -1, where theField[0].getAttribute('maxlength') correctly returns null.

Experienced on FF3.0.3 on OS X.

Attachments (0)
Change History (1)

Changed March 17, 2009 10:01PM UTC by brandon comment:1

resolution: → duplicate
status: newclosed

duplicate of #3917