This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 23073 - Removal from the past names map should be based on the form-association changing, not removal from the Document
Summary: Removal from the past names map should be based on the form-association chang...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks: 23395
  Show dependency treegraph
 
Reported: 2013-08-27 02:08 UTC by contributor
Modified: 2013-09-30 17:34 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2013-08-27 02:08:27 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html
Multipage: http://www.whatwg.org/C#the-form-element
Complete: http://www.whatwg.org/c#the-form-element
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Removal from the past names map should be based on the form-association
changing, not removal from the Document

Posted from: 96.233.102.142 by bzbarsky@mit.edu
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:26.0) Gecko/20100101 Firefox/26.0
Comment 1 Boris Zbarsky 2013-08-27 02:09:01 UTC
That would mean that @form changes can also trigger such removal, which seems very desirable.  Gecko and WebKit are both planning to implement it that way.
Comment 2 Boris Zbarsky 2013-08-27 02:09:48 UTC
Note, also, that it's possible to remove an element from the Document without changing its form-association by removing its ancestor <form> from the Document.  I believe in this situation the past names map should not change...
Comment 3 Kent Tamura 2013-08-27 02:24:46 UTC
> Gecko and WebKit are both planning to implement it that way.

Blink will follow this too.
Comment 4 contributor 2013-09-13 23:18:41 UTC
Checked in as WHATWG revision r8185.
Check-in comment: Make the <form> past names map associations go away when the form owner changes, not when the element is removed from the document.
http://html5.org/tools/web-apps-tracker?from=8184&to=8185