Bug 20101 - willValidate attribute support
Summary: willValidate attribute support
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P4 Enhancement
Assignee: Nobody
URL: http://www.w3.org/TR/web-forms-2/#wil...
Depends on:
Blocks: HTML5Forms 34733
  Show dependency treegraph
Reported: 2008-07-18 14:31 PDT by Michelangelo De Simone
Modified: 2010-02-09 22:02 PST (History)
0 users

See Also:

Proposed patch (20.32 KB, patch)
2008-07-18 14:31 PDT, Michelangelo De Simone
adele: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michelangelo De Simone 2008-07-18 14:31:11 PDT
The willValidate attribute applies to all form controls and gives the ability to check the target for its "validable" status.

This is part of Web Forms 2.0 standard implementation.
Comment 1 Michelangelo De Simone 2008-07-18 14:31:45 PDT
Created attachment 22375 [details]
Proposed patch
Comment 2 Adele Peterson 2008-07-24 14:01:36 PDT
Comment on attachment 22375 [details]
Proposed patch

instead of checking for name().length()  you can check !name().isEmpty()

otherwise, looks good.
Comment 3 Mark Rowe (bdash) 2008-07-26 22:08:43 PDT
Landed in r35381.