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

[whatwg] Annotating structured data that HTML has no semanticsfor

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Tue, 9 Jun 2009 12:15:18 +0200
Message-ID: <0D68C54E0A4044AA87844B8CD7EB1AB9@POCZTOWIEC>
* Let a COLOR element have a value DOM property in the DOM that returns a
color.
* Let a NUMBER element has a value DOM property that returns a number.

Actually, the latter use case is one I have bumped into:  
* The DOM does not provide a numeric value,
* JavaScript support for parsing localized properties is poor; you have to
reverse engineer the result of toLocaleString,
* VBScript support is better but inconsistent as it depends on the system
locale and not on the document locale as desired.

IMHO,
Chris
Received on Tuesday, 9 June 2009 03:15:18 UTC

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