[whatwg] Allow <form> as a child of <tbody>

On Tue, 17 Jan 2006, Simon Pieters wrote:
> 
> While that is true with the constraints of HTML4, we could allow forms to be
> direct children of <tbody> in HTML5.
> 
> <table>
>  <form action="/edit" method="post">
>   <tr>
>    <td>
>     <input type="hidden" name="id" value="1"/>
>     <input type="text" name="name" value="First Row"/>
> 
> This also happens to be backwards compatible with legacy UA's.

Check the DOM for that markup. "Backwards compatible" is not the words I 
would use...

(FWIW, I'm considering dropping form="" altogether, as part of a WF2 
simplification effort, in response to feedback from Mozilla and Apple 
about WF2 being too much too soon.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 17 January 2006 16:10:29 UTC