If we follow this algorithm, a form control which is not in a document tree AND not in any form orphan tree can be associated to a form element.
var input1 = document.createElement('input'); // form owner is null.
input1.setAttribute('form', 'f1'); // Need 'reset the form owner'.
// The owner form of input1 should be f1 according to the specification.
// f1.elements should contain input1, but document-order is undefined for input1.
Fix the following sentence:
3. If the element has a form content attribute, then run these substeps:
3. If the element has a form content attribute and is in a Document subtree, then run these substeps:
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
Change Description: see diff given below
Rationale: Concurred with reporter's comments.
Checked in as WHATWG revision r7092.
Check-in comment: Don't associate using form='' if you're not in a document