Re: [whatwg] Form-associated elements and the parser

On Dec 3, 2013, at 3:51 PM, Ian Hickson <ian@hixie.ch> wrote:

> On Tue, 3 Dec 2013, Ryosuke Niwa wrote:
>> On Dec 3, 2013, at 10:42 AM, Adam Barth <abarth@eecs.berkeley.edu> 
>> wrote:
>> 
>> Do we really need a stack?  Can't we set the form element pointer aside 
>> when we push the first template element and restore it when we pop the 
>> last template element?
> 
> We could; in fact that might be sufficient because when the template is 
> cloned, all the special associations are lost anyway, IIRC. So the form 
> element pointer would be useless anyway in the template on the long run.

Right.  I also think that not associating form elements with forms inside/outside
template elements might be more natural to authors given their inert nature.

- R. Niwa

Received on Wednesday, 4 December 2013 00:45:00 UTC