W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

[whatwg] type="datetime" demo

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 17 Aug 2004 18:14:13 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0408171812420.16813@dhalsim.dreamhost.com>
On Sat, 17 Jul 2004, Jim Ley wrote:

> Another quick look on the code:
> 
> if (!document ...
> 
> Will still error if document doesn't exist.  use typeof on a naked property.

Fixed.


> I don't personally agree that document.X implies anyelement.X and you

I'm testing Node.X. Document and anyelement are both Nodes.


> also need to check parentNode is an object before calling removeChild

Not in this case, since the object is guarenteed to be in the tree.


> You don't check for support of Number.toFixed

That's standard ECMAScript.


> You don't check for native support of a datetime control.

Yes, I do.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 17 August 2004 11:14:13 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC