[whatwg] validationMessage

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

Received on Tuesday, 10 November 2009 12:23:37 UTC