W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] input type="hidden" and validation

From: Mike Wilson <mikewse@hotmail.com>
Date: Wed, 22 Oct 2008 23:31:30 +0200
Message-ID: <BAY116-DAV3D3855B7B091F2C076C35A4290@phx.gbl>
Ian Hickson wrote:
> On Wed, 22 Oct 2008, Mike Wilson wrote:
> >
> > - allowing hidden <input>:s to actually live anywhere (this is
> >   probably hard to do dtd/validation-wise)
> It's easy to specify, the problem is that it makes it easy 
> for authors to 
> get in trouble if they change the type attribute on the fly 
> (e.g. in an editor or from script).

Certainly. None of this is easy.

> It's also not clear why this is necessary -- putting it in 
> the first cell 
> of a row, or the next li in an ol, seems trivial.

Assuming you are in control of the whole page's markup at once
then I agree. But when you are not and, it may be far from trivial.
(I mentioned an example of this in the link I included earlier

> > - keeping the whole thing invalid but still define in HTML5 how 
> >   the migration of ill-placed <input>:s should work
> That is theoretically already defined.

Interesting. Is it the foster-parenting of tables you are referring
to, or is there anything more specific for <input>:s?

Best regards
Mike Wilson
Received on Wednesday, 22 October 2008 14:31:30 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC