[Webkit-unassigned] [Bug 85704] New: Bad checkValidity result on recently "enabled" form fields
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat May 5 03:50:14 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=85704
Summary: Bad checkValidity result on recently "enabled" form
fields
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
URL: http://jsfiddle.net/9bsZ9/
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: info at corrupt-system.de
CC: tkent at chromium.org
The native checkValidity() method and jQuery's is method for the selectors ':valid'/':invalid' are returning wrong results, if you set an invalid value to a disabled form field and then enabling it.
I created a testcase here: http://jsfiddle.net/9bsZ9/
1. Create a disabled and required form field
2. Set this field to an invalid value through script
3. Set disabled to false
-> checkValidity should return false, but returns true. I'm not sure, why matchesSelector and jQuery.is are returning different values, but should also be looked into.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list