[whatwg] Annotating structured data that HTML has no semanticsfor

On Tue, 9 Jun 2009, Kristof Zelechovski wrote:
> * Let a COLOR element have a value DOM property in the DOM that returns a
> color.

.value already does so.

> * Let a NUMBER element has a value DOM property that returns a number.

.valueAsNumber already does so.

> Actually, the latter use case is one I have bumped into:  
> * The DOM does not provide a numeric value,

As noted, it now does.

> * JavaScript support for parsing localized properties is poor; you have to
> reverse engineer the result of toLocaleString,

The localised properties aren't exposed.

> * VBScript support is better but inconsistent as it depends on the system
> locale and not on the document locale as desired.

Then don't use VBScript; it's a vendor-specific technology anyway.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 30 June 2009 21:22:08 UTC