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

[whatwg] type="datetime" demo

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 19 Aug 2004 13:41:26 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0408191339450.16731@dhalsim.dreamhost.com>
On Thu, 19 Aug 2004, Jim Ley wrote:
>> 
>> I'm testing Node.X. Document and anyelement are both Nodes.
> 
> No, if it was a DOM conformant UA, you would be, however it's highly 
> likely not to be, if it was, there'd be no point checking any of it.

I'm not going to make the code even less readable just to satisfy some 
perverse desire to have this JS code run on every JS and DOM engine ever 
written in the history of man, sorry. That would defeat the purpose, which 
is to demonstrate the principle.


> > > You don't check for native support of a datetime control.
> > 
> > Yes, I do.
> 
> So it fails in FireFox 0.8 for example, which incorrectly assumes 
> datetime support.

That's a (now fixed) bug in Mozilla.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 19 August 2004 06:41:26 UTC

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