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

[whatwg] Suggested changes to Web Forms 2.0, 2004-07-01 working

From: Jim Ley <jim.ley@gmail.com>
Date: Fri, 9 Jul 2004 14:37:44 +0100
Message-ID: <851c8d3104070906373f46299a@mail.gmail.com>
On Fri, 09 Jul 2004 09:28:45 -0400, Matthew Raymond
<mattraymond at earthlink.net> wrote:
> Jim Ley wrote:
> > On Fri, 9 Jul 2004 13:43:54 +0100, Jim Ley <jim.ley at gmail.com> wrote:
> > Yes, that is my point, and that with WF2 you can't have formatting
> > hints because it will confuse the users of WF2 clients.  Hence this
> > does not degrade on legacy clients.
> 
>    Let's put this thing to bed.
> 
> === With Javascript Enabled ===

Oops, not possible for me I'm afraid, the no-javascript is more
important than the javascript enabled, once we have javascript enabled
we can do anything.

>         if (!(document.implementation &&
>               document.implementation.hasFeature &&
>               document.implementation.hasFeature('WebForms', '2.0')))

This is surely still an open issue against WF 2 - it's been said by
both me and Hixie (and I think most people inbetween) that the gross
hasFeature methods don't work, especially as WF2 will be implemented
piecemeal - indeed is already being implemented piecemeal.

>         {
>           document.write('<br>');
>           document.write('<small>(Format: MM/DD/YYYY)</small>');
>         }
>         --></script>

And this is a script error in any case, can I recommend not doing any
more scripting!  Javascript quality on the web is atrocious, it's not
helped by this sort of example.  (we'll ignore that you're using
non-standard things like globablOj.document, as that's pretty well
supported in legacy.)

> <label>Date: <input type="date" name="date1" value="MM/DD/YYYY"></label>

This does not work for me, since it prevents me having a default
value.  (such as happens when you return to a form after a submission
failure).

Jim.
Received on Friday, 9 July 2004 06:37:44 UTC

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