[whatwg] Annotating structured data that HTML has no semanticsfor

Kristof Zelechovski giecrilj at stegny.2a.pl
Tue Jun 9 03:15:18 PDT 2009


* 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




More information about the whatwg mailing list