[whatwg] input type="hidden" and validation

Adrian Sutton adrian.sutton at ephox.com
Wed Oct 22 12:11:28 PDT 2008


On 22/10/2008 19:58, "Ian Hickson" <ian at hixie.ch> 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).

>From an implementation perspective this makes life a lot harder as well
since the allowable positions for input now depend on an attribute rather
than just the tag name. WYSIWYG editors would also find it difficult to
indicate the presence of the hidden field in odd locations like between
table and tr even ignoring the fact that they'd have to move it if the
author changed the type.

Regards,

Adrian Sutton.
______________________
Adrian Sutton, CTO
UK: +44 1 753 27 2229  US: +1 (650) 292 9659 x717
Ephox <http://www.ephox.com/>
Ephox Blogs <http://planet.ephox.com/>, Personal Blog
<http://www.symphonious.net/>




More information about the whatwg mailing list