This bug was introduced by bug 595606 comment 6. Per spec, it should make sure elements in tree order in `HTMLFormControlsCollection`[1] and `Constructing the entry list`[2]. I think it's still valid and we should fix this bug. However, I'll leave it for DOM Peer to do the final call. [1] https://html.spec.whatwg.org/#the-htmlformcontrolscollection-interface [2] https://html.spec.whatwg.org/#constructing-form-data-set
Bug 598468 Comment 3 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
This bug was introduced by bug 595606 comment 6. Per spec, it should make sure elements in tree order in `HTMLFormControlsCollection`[1] and `Constructing the entry list`[2]. I think it's still valid and we should fix this bug. It's safe to remove the code because we can make sure elements in tree order by tests. However, I'll leave it for DOM Peer to do the final call. [1] https://html.spec.whatwg.org/#the-htmlformcontrolscollection-interface [2] https://html.spec.whatwg.org/#constructing-form-data-set
This bug was introduced by bug 595606 comment 6. Per spec, it should make sure elements in tree order in `HTMLFormControlsCollection`[1] and `Constructing the entry list`[2]. I think it's still valid and we should fix this bug. It's safe to remove the code in https://searchfox.org/mozilla-central/source/dom/html/HTMLFormElement.cpp#1108 because we can make sure elements in tree order by tests. However, I'll leave it for DOM Peer to do the final call. [1] https://html.spec.whatwg.org/#the-htmlformcontrolscollection-interface [2] https://html.spec.whatwg.org/#constructing-form-data-set