html/semantics/forms/form-control-infrastructure/
130 / 130 WPT subtests passing
- Failed
- 0
- Timed out
- 0
- Not run
- 0
- Test files
- 8
- Blocking files
- 0
Chrome 129 / 130 WPT subtests passing on the same files, none blocking
Tests
8 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
association.window.js 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Ensure input and form get associated when not in a document
form-attribute-tree-mutations.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- Removing a form's ancestor resets form owners in both resulting trees
- Removing a form's ancestor from a shadow tree resets form owners in both resulting trees
- Inserting and removing a non-form ID match updates form owners in a shadow tree
- A custom control's form attribute follows shadow-host connectivity and target-form insertion/removal
- Disconnecting an unassociated input with a form attribute falls back to its ancestor form without an ID
- Disconnecting an unassociated input with a form attribute falls back to its ancestor form with an unrelated ID
- Disconnecting an unassociated custom control with a form attribute falls back to its ancestor form without an ID
form.html 17 / 17 passingChrome 17 / 170 failedClean
17 passing subtests
- button.form
- fieldset.form
- input.form
- object.form
- output.form
- select.form
- textarea.form
- label.form
- label-form.form
- label-form-form2.form
- label-with-control.form
- label-for.form
- label-for-control-form-in-form.form
- label-for-control-form.form
- label-in-table.form
- label-in-table-with-control.form
- label-in-table-for.form
form_attribute.html 100 / 100 passingChrome 100 / 1000 failedClean
100 passing subtests
- Tests for parser inserted controls
- [BUTTON] Basic form association - control with no form attribute is associated with ancestor
- [BUTTON] Form owner is reset to null when control's form attribute is set to an ID that does not exist in the document
- [BUTTON] Control whose form attribute is an empty string has no form owner
- [BUTTON] Control whose form attribute is an empty string has no form owner even when form with empty attribute is present
- [BUTTON] Control's form attribute must be a case sensitive match for the form's id
- [BUTTON] Setting the form attribute of a control to the id of a non-ancestor form works
- [BUTTON] Removing form id from a control resets the form owner to ancestor
- [BUTTON] Removing the form owner of a control with form attribute resets the form owner to null
- [BUTTON] Changing form attibute of control resets form owner to correct form
- [BUTTON] Moving a control with form attribute within the document does not change the form owner
- [BUTTON] When the id of a non-ancestor form changes from not being a match for the form attribute to being a match, the control's form owner is reset
- [BUTTON] When form element with same ID as the control's form attribute is inserted earlier in tree order, the form owner is changed to the inserted form
- [BUTTON] When non-form element with same ID as the control's form attribute is inserted earlier in tree order, the control does not have a form owner
- [BUTTON] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists
- [FIELDSET] Basic form association - control with no form attribute is associated with ancestor
- [FIELDSET] Form owner is reset to null when control's form attribute is set to an ID that does not exist in the document
- [FIELDSET] Control whose form attribute is an empty string has no form owner
- [FIELDSET] Control whose form attribute is an empty string has no form owner even when form with empty attribute is present
- [FIELDSET] Control's form attribute must be a case sensitive match for the form's id
- [FIELDSET] Setting the form attribute of a control to the id of a non-ancestor form works
- [FIELDSET] Removing form id from a control resets the form owner to ancestor
- [FIELDSET] Removing the form owner of a control with form attribute resets the form owner to null
- [FIELDSET] Changing form attibute of control resets form owner to correct form
- [FIELDSET] Moving a control with form attribute within the document does not change the form owner
- [FIELDSET] When the id of a non-ancestor form changes from not being a match for the form attribute to being a match, the control's form owner is reset
- [FIELDSET] When form element with same ID as the control's form attribute is inserted earlier in tree order, the form owner is changed to the inserted form
- [FIELDSET] When non-form element with same ID as the control's form attribute is inserted earlier in tree order, the control does not have a form owner
- [FIELDSET] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists
- [INPUT] Basic form association - control with no form attribute is associated with ancestor
- [INPUT] Form owner is reset to null when control's form attribute is set to an ID that does not exist in the document
- [INPUT] Control whose form attribute is an empty string has no form owner
- [INPUT] Control whose form attribute is an empty string has no form owner even when form with empty attribute is present
- [INPUT] Control's form attribute must be a case sensitive match for the form's id
- [INPUT] Setting the form attribute of a control to the id of a non-ancestor form works
- [INPUT] Removing form id from a control resets the form owner to ancestor
- [INPUT] Removing the form owner of a control with form attribute resets the form owner to null
- [INPUT] Changing form attibute of control resets form owner to correct form
- [INPUT] Moving a control with form attribute within the document does not change the form owner
- [INPUT] When the id of a non-ancestor form changes from not being a match for the form attribute to being a match, the control's form owner is reset
- [INPUT] When form element with same ID as the control's form attribute is inserted earlier in tree order, the form owner is changed to the inserted form
- [INPUT] When non-form element with same ID as the control's form attribute is inserted earlier in tree order, the control does not have a form owner
- [INPUT] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists
- [OBJECT] Basic form association - control with no form attribute is associated with ancestor
- [OBJECT] Form owner is reset to null when control's form attribute is set to an ID that does not exist in the document
- [OBJECT] Control whose form attribute is an empty string has no form owner
- [OBJECT] Control whose form attribute is an empty string has no form owner even when form with empty attribute is present
- [OBJECT] Control's form attribute must be a case sensitive match for the form's id
- [OBJECT] Setting the form attribute of a control to the id of a non-ancestor form works
- [OBJECT] Removing form id from a control resets the form owner to ancestor
- [OBJECT] Removing the form owner of a control with form attribute resets the form owner to null
- [OBJECT] Changing form attibute of control resets form owner to correct form
- [OBJECT] Moving a control with form attribute within the document does not change the form owner
- [OBJECT] When the id of a non-ancestor form changes from not being a match for the form attribute to being a match, the control's form owner is reset
- [OBJECT] When form element with same ID as the control's form attribute is inserted earlier in tree order, the form owner is changed to the inserted form
- [OBJECT] When non-form element with same ID as the control's form attribute is inserted earlier in tree order, the control does not have a form owner
- [OBJECT] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists
- [OUTPUT] Basic form association - control with no form attribute is associated with ancestor
- [OUTPUT] Form owner is reset to null when control's form attribute is set to an ID that does not exist in the document
- [OUTPUT] Control whose form attribute is an empty string has no form owner
- [OUTPUT] Control whose form attribute is an empty string has no form owner even when form with empty attribute is present
- [OUTPUT] Control's form attribute must be a case sensitive match for the form's id
- [OUTPUT] Setting the form attribute of a control to the id of a non-ancestor form works
- [OUTPUT] Removing form id from a control resets the form owner to ancestor
- [OUTPUT] Removing the form owner of a control with form attribute resets the form owner to null
- [OUTPUT] Changing form attibute of control resets form owner to correct form
- [OUTPUT] Moving a control with form attribute within the document does not change the form owner
- [OUTPUT] When the id of a non-ancestor form changes from not being a match for the form attribute to being a match, the control's form owner is reset
- [OUTPUT] When form element with same ID as the control's form attribute is inserted earlier in tree order, the form owner is changed to the inserted form
- [OUTPUT] When non-form element with same ID as the control's form attribute is inserted earlier in tree order, the control does not have a form owner
- [OUTPUT] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists
- [SELECT] Basic form association - control with no form attribute is associated with ancestor
- [SELECT] Form owner is reset to null when control's form attribute is set to an ID that does not exist in the document
- [SELECT] Control whose form attribute is an empty string has no form owner
- [SELECT] Control whose form attribute is an empty string has no form owner even when form with empty attribute is present
- [SELECT] Control's form attribute must be a case sensitive match for the form's id
- [SELECT] Setting the form attribute of a control to the id of a non-ancestor form works
- [SELECT] Removing form id from a control resets the form owner to ancestor
- [SELECT] Removing the form owner of a control with form attribute resets the form owner to null
- [SELECT] Changing form attibute of control resets form owner to correct form
- [SELECT] Moving a control with form attribute within the document does not change the form owner
- [SELECT] When the id of a non-ancestor form changes from not being a match for the form attribute to being a match, the control's form owner is reset
- [SELECT] When form element with same ID as the control's form attribute is inserted earlier in tree order, the form owner is changed to the inserted form
- [SELECT] When non-form element with same ID as the control's form attribute is inserted earlier in tree order, the control does not have a form owner
- [SELECT] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists
- [TEXTAREA] Basic form association - control with no form attribute is associated with ancestor
- [TEXTAREA] Form owner is reset to null when control's form attribute is set to an ID that does not exist in the document
- [TEXTAREA] Control whose form attribute is an empty string has no form owner
- [TEXTAREA] Control whose form attribute is an empty string has no form owner even when form with empty attribute is present
- [TEXTAREA] Control's form attribute must be a case sensitive match for the form's id
- [TEXTAREA] Setting the form attribute of a control to the id of a non-ancestor form works
- [TEXTAREA] Removing form id from a control resets the form owner to ancestor
- [TEXTAREA] Removing the form owner of a control with form attribute resets the form owner to null
- [TEXTAREA] Changing form attibute of control resets form owner to correct form
- [TEXTAREA] Moving a control with form attribute within the document does not change the form owner
- [TEXTAREA] When the id of a non-ancestor form changes from not being a match for the form attribute to being a match, the control's form owner is reset
- [TEXTAREA] When form element with same ID as the control's form attribute is inserted earlier in tree order, the form owner is changed to the inserted form
- [TEXTAREA] When non-form element with same ID as the control's form attribute is inserted earlier in tree order, the control does not have a form owner
- [TEXTAREA] A control that is not in the document but has the form attribute set is associated with the nearest ancestor form if one exists
- Test for button with same ID as form
form_owner_and_table.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Form element and form controls nested inside a table are correctly handled
form_owner_and_table_2.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Controls nested in tables are not associated with form element inside the table if the form had been removed by script before the controls were inserted by the parser
form_owner_and_table_3.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- parser inserted flag is not reset by insertions with the owner form, but reset by by removal from the owner form
parser-reparented-open-element.html 2 / 2 passingChrome 1 / 20 failedClean
2 passing subtests
- Elements parsed into an open container reparented elsewhere in the same document stay associated with the open form
- Elements parsed into an open container detached from the document are not associated with the open form