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

[whatwg] Annotating structured data that HTML has no semanticsfor

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 1 Jul 2009 04:22:08 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0907010421010.1060@hixie.dreamhostps.com>
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

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