W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2009

[whatwg] validationMessage

From: Michelangelo De Simone <micdesim@gmail.com>
Date: Tue, 10 Nov 2009 21:23:37 +0100
Message-ID: <B72C6CB1-6DAE-4735-8200-FBE0536996A5@gmail.com>
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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:19 UTC