Bug 20101

Summary: willValidate attribute support
Product: WebKit Reporter: Michelangelo De Simone <michelangelo>
Component: FormsAssignee: Nobody <webkit-unassigned>
Severity: Enhancement    
Priority: P4    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: http://www.w3.org/TR/web-forms-2/#willvalidate
Bug Depends on:    
Bug Blocks: 19264, 34733    
Description Flags
Proposed patch adele: review+

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.