[whatwg] Form-associated elements and the parser

Ian Hickson ian at hixie.ch
Tue Dec 3 15:51:09 PST 2013

On Tue, 3 Dec 2013, Ryosuke Niwa wrote:
> On Dec 3, 2013, at 10:42 AM, Adam Barth <abarth at 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.

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

More information about the whatwg mailing list