Bug 162727 - Assigning non-numeric to input.minlength should set minlength to 0
Summary: Assigning non-numeric to input.minlength should set minlength to 0
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: WebExposed
Depends on:
Blocks:
 
Reported: 2016-09-29 08:58 PDT by Chris Dumez
Modified: 2016-09-29 10:44 PDT (History)
7 users (show)

See Also:


Attachments
Patch (6.49 KB, patch)
2016-09-29 10:08 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2016-09-29 08:58:15 PDT
Assigning non-numeric to input.minlength should set minlength to 0.

Test case: http://w3c-test.org/html/semantics/forms/the-input-element/minlength.html

Chrome passes this test.
Comment 1 Chris Rebert 2016-09-29 09:11:20 PDT
Firefox 51 also passes the test.
Comment 2 Chris Dumez 2016-09-29 09:26:05 PDT
(In reply to comment #1)
> Firefox 51 also passes the test.

Ok, I am still at Firefox 49 somehow :)

Anyway, I believe I found the bug.
Comment 3 Chris Dumez 2016-09-29 10:08:17 PDT
Created attachment 290211 [details]
Patch
Comment 4 Chris Dumez 2016-09-29 10:44:13 PDT
Comment on attachment 290211 [details]
Patch

Clearing flags on attachment: 290211

Committed r206588: <http://trac.webkit.org/changeset/206588>
Comment 5 Chris Dumez 2016-09-29 10:44:18 PDT
All reviewed patches have been landed.  Closing bug.