W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2013

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

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 26 Sep 2013 22:41:55 +0000 (UTC)
To: Ryosuke Niwa <rniwa@apple.com>, Boris Zbarsky <bzbarsky@MIT.EDU>
Message-ID: <alpine.DEB.2.00.1309262238260.12199@ps20323.dreamhostps.com>
Cc: WHAT Working Group <whatwg@lists.whatwg.org>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 26 September 2013 22:42:20 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:09 UTC