[whatwg] type="datetime" demo
Ian Hickson
ian at hixie.ch
Thu Aug 19 06:41:26 PDT 2004
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list