Re: [WSG] Form question

2009-07-15 Thread Mike
ginal Message- From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of David Dorward Sent: Wednesday, 15 July 2009 8:23 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Form question steve.haffen...@gmail.com wrote: Can anyone tell me why the HTML specification doe

Re: [WSG] Form question

2009-07-15 Thread Mathew Robertson
> > Another related question to ask... Why is putting a hidden input > > field, as the first child of a form element, disallowed? > The HTML 4.01 DTD specifies that only block-level elements or script > elements may appear as the immediate children of the FORM element; > input elements are inlin

Re: [WSG] Form question

2009-07-15 Thread Robert Turner
to:li...@webstandardsgroup.org] On Behalf Of David Dorward Sent: Wednesday, 15 July 2009 8:23 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Form question steve.haffen...@gmail.com wrote: Can anyone tell me why the HTML specification does not restrict form elements from appearing outside o

RE: Re: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
: wsg@webstandardsgroup.org Subject: Re: Re: [WSG] Form question 2009/7/15 Mathew Robertson : > > Another related question to ask... Why is putting a hidden input field, as the first child of a form element, disallowed? > The HTML 4.01 DTD specifies that only block-level elements or scrip

RE: Re: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
: wsg@webstandardsgroup.org Subject: Re: Re: [WSG] Form question > > Can anyone tell me why the HTML specification does not restrict form > > elements from appearing outside of the form tag? > > > > HTML 4.01 section 17.2.1: "The elements used to create controls > g

RE: Re: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
: wsg@webstandardsgroup.org Subject: Re: Re: [WSG] Form question Mathew Robertson wrote: > Another related question to ask... Why is putting a hidden input field, as > the first child of a form element, disallowed? Because it is an %inline element. The child element(s) of a form must be %b

RE: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
: wsg@webstandardsgroup.org Subject: Re: [WSG] Form question 2009/7/15 : > Can anyone tell me why the HTML specification does not restrict form > elements from appearing outside of the form tag? > HTML 4.01 section 17.2.1: "The elements used to create controls generally appear inside

RE: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
: wsg@webstandardsgroup.org Subject: Re: [WSG] Form question steve.haffen...@gmail.com wrote: > Can anyone tell me why the HTML specification does not restrict form > elements from appearing outside of the form tag? For use in client side scripts IIRC. (HTML 4.01 does have some flaws) -- Da

RE: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
y, 15 July 2009 8:02 PM To: wsg@webstandardsgroup.org Subject: [WSG] Form question Hi. Apologies if I'm bringing up previously dug over ground or if I'm missing something so utterly obvious that coffee is about to be spluttered all over your expansive monitors but... Can anyone tell

Re: Re: [WSG] Form question

2009-07-15 Thread Nick Fitzsimons
2009/7/15 Mathew Robertson : > > Another related question to ask... Why is putting a hidden input field, as > the first child of a form element, disallowed? > The HTML 4.01 DTD specifies that only block-level elements or script elements may appear as the immediate children of the FORM element; in

Re: Re: [WSG] Form question

2009-07-15 Thread David Dorward
Mathew Robertson wrote: > Another related question to ask... Why is putting a hidden input field, as > the first child of a form element, disallowed? Because it is an %inline element. The child element(s) of a form must be %block. http://www.w3.org/TR/html4/interact/forms.html#h-17.3 -- David

Re: Re: [WSG] Form question

2009-07-15 Thread Mathew Robertson
> > Can anyone tell me why the HTML specification does not restrict form > > elements from appearing outside of the form tag? > > > > HTML 4.01 section 17.2.1: "The elements used to create controls > generally appear inside a FORM element, but may also appear outside of > a FORM element declaratio

Re: [WSG] Form question

2009-07-15 Thread Nick Fitzsimons
2009/7/15 : > Can anyone tell me why the HTML specification does not restrict form > elements from appearing outside of the form tag? > HTML 4.01 section 17.2.1: "The elements used to create controls generally appear inside a FORM element, but may also appear outside of a FORM element declaration

Re: [WSG] Form question

2009-07-15 Thread David Dorward
steve.haffen...@gmail.com wrote: > Can anyone tell me why the HTML specification does not restrict form > elements from appearing outside of the form tag? For use in client side scripts IIRC. (HTML 4.01 does have some flaws) -- David Dorward http://dorward.me.uk/

[WSG] Form question

2009-07-15 Thread steve . haffenden
Hi. Apologies if I'm bringing up previously dug over ground or if I'm missing something so utterly obvious that coffee is about to be spluttered all over your expansive monitors but... Can anyone tell me why the HTML specification does not restrict form elements from appearing outside of