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

[whatwg] input type=hidden outside phrasing content

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Wed, 15 Oct 2008 21:44:33 +0200
Message-ID: <DBF2DBEB8165411B966DF2B7E2AB3B21@POCZTOWIEC>
Why is FORM INPUT[type="hidden"] not enough?

-----Original Message-----
From: whatwg-bounces@lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Mike Wilson
Sent: Wednesday, October 15, 2008 9:40 PM
To: whatwg at lists.whatwg.org
Subject: [whatwg] input type=hidden outside phrasing content

Would it be possible to have HTML5 allow the insertion of
  <input type="hidden" ...>
(or something with the same effect) anywhere in the document?

This would f ex relieve cases like server-side templating
wanting to attach hidden state to its generated markup, and
not having to use complex algorithms to find a suitable spot.

As this type of element is non-visual this suggestion 
shouldn't cause any layout problems, but I guess having
different placement rules for different settings on the same
element type is, so maybe using <input> is not possible.
Could HTML5 support adding hidden POSTable state in another 
way, that wouldn't be subject to placement rules for visual

Best regards
Mike Wilson
Received on Wednesday, 15 October 2008 12:44:33 UTC

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