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

[whatwg] type="datetime" demo

From: Jim Ley <jim.ley@gmail.com>
Date: Thu, 19 Aug 2004 15:18:51 +0100
Message-ID: <851c8d31040819071846d7c9f7@mail.gmail.com>
On Thu, 19 Aug 2004 13:41:26 +0000 (UTC), Ian Hickson <ian at hixie.ch> wrote:
> 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.

Oh right, so supporting legacy browsers with javascript shims is very
complicated to do, and leads to unreadable unmaintainable code?   If
that's the case, does this not lead to a huge problem for the whole
basis of the WHAT-WG's work?

> > So it fails in FireFox 0.8 for example, which incorrectly assumes
> > datetime support.
> 
> That's a (now fixed) bug in Mozilla.

Yes, but that is irrelevant, it demonstrates that your "is it a WF2
browser check" doesn't check any such thing.  That's the problem, you
can't just sweep problems under the carpet by calling it a bug in the
UA.  We could sweep all of IE6 away if we said that.

Jim.
Received on Thursday, 19 August 2004 07:18:51 UTC

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