W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2009

Re: [whatwg] DOMTimeStamp binding

From: Simon Pieters <simonp@opera.com>
Date: Thu, 12 Feb 2009 16:22:13 +0100
To: "Kartikaya Gupta" <lists.webapps@stakface.com>
Cc: "Darin Adler" <darin@apple.com>, whatwg@whatwg.org, public-webapps@w3.org
Message-ID: <op.uo8vnbmaidj3kv@zcorpandell.linkoping.osa>

On Thu, 12 Feb 2009 16:12:49 +0100, Kartikaya Gupta <lists.webapps@stakface.com> wrote:

> It seems to me the simplest approach would be to bind DOMTimeStamp to a  
> number for ECMAScript (the typedef should then make it unnecessary to  
> explicitly define in WebIDL), and create a new type to represent things  
> that actually return Date objects like the HTMLInputElement.valueAsDate  
> in HTML5. This is likely what I'll end up doing for our IDL files anyhow  
> so that all the bindings get generated correctly.

Oh yep, this seems like an issue for HTML5. Is there anything other than valueAsDate that should return a Date? Any suggestions for what I need to do in Web DOM Core?

-- 
Simon Pieters
Opera Software
Received on Thursday, 12 February 2009 15:23:00 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:30 GMT