[whatwg] validationMessage

Michelangelo De Simone micdesim at gmail.com
Tue Nov 10 12:23:37 PST 2009


Hi,

I've been dealing with the validationMessage implementation in WebKit. As some of WebKit member pointed out it's quite unusual for an attribute to "return a suitably *localized message* that the user agent would show the user".

Couldn't such behavior be potentially heterogeneous among UAs and localizations?

What is the rationale about this choice? A simpler behavior with a predetermined list of return values (eg: i.validationMessage == VALUEMISSING) could be much more efficient for authors and implementors to deal with, IMHO. 

Thank you for your feedbacks.
--
Bye, Michelangelo





More information about the whatwg mailing list