[whatwg] type="datetime" demo

Ian Hickson ian at hixie.ch
Tue Aug 17 11:14:13 PDT 2004

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.


> 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.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list