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.
Created attachment 22375 [details] Proposed patch
Comment on attachment 22375 [details] Proposed patch instead of checking for name().length() you can check !name().isEmpty() otherwise, looks good.
Landed in r35381.