[whatwg] Elements should be removed from the past names map once it's no longer associated with the form element

Ian Hickson ian at hixie.ch
Thu Sep 26 15:41:55 PDT 2013


On Mon, 26 Aug 2013, Ryosuke Niwa wrote:
> 
> I propose to change the specification to remove any elements that are no 
> longer associated with the form from the past names map: 
> http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#past-names-map
> 
> It's strange for elements to linger around forever in the past names map 
> after the element get associated with a new form element.  Since IE 
> didn't support form attribute for a long time (or maybe still hasn't?), 
> I don't think there is any compatibility concern.
> 
> The change makes the elements associated with the form element more 
> consistent and easier to reason about.  We can make form[x].form === 
> form an invariant for every x such that form[x] is a form control 
> element.

This was fixed in response to:

On Mon, 26 Aug 2013, Boris Zbarsky wrote:
> 
> I filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=23073

Let me know if there's still something to fix here.


Note that there's no need to file a bug if feedback on the spec is sent to 
the list; I treat them both as input to the spec.

-- 
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