| OLD | NEW |
| 1 CONSOLE WARNING: line 16: The <keygen> element is deprecated and will be removed
in M54, around October 2016. See https://www.chromestatus.com/features/57160609
92962560 for more details. | 1 CONSOLE WARNING: line 16: The <keygen> element is deprecated and will be removed
in M54, around October 2016. See https://www.chromestatus.com/features/57160609
92962560 for more details. |
| 2 This test checks the form attribute of the form-associated elements. | 2 This test checks the form attribute of the form-associated elements. |
| 3 | 3 |
| 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 5 | 5 |
| 6 | 6 |
| 7 - Checks the existence of the form attribute for each form-associated elements. | 7 - Checks the existence of the form attribute for each form-associated elements. |
| 8 PASS document.getElementsByTagName("button")[0].form is owner | 8 PASS document.getElementsByTagName("button")[0].form is owner |
| 9 PASS document.getElementsByTagName("fieldset")[0].form is owner | 9 PASS document.getElementsByTagName("fieldset")[0].form is owner |
| 10 PASS document.getElementsByTagName("input")[0].form is owner | 10 PASS document.getElementsByTagName("input")[0].form is owner |
| 11 PASS document.getElementsByTagName("keygen")[0].form is owner | 11 PASS document.getElementsByTagName("keygen")[0].form is owner |
| 12 PASS document.getElementsByTagName("label")[0].form is owner | 12 PASS document.getElementsByTagName("label")[0].form is null |
| 13 PASS document.getElementsByTagName("object")[0].form is owner | 13 PASS document.getElementsByTagName("object")[0].form is owner |
| 14 PASS document.getElementsByTagName("output")[0].form is owner | 14 PASS document.getElementsByTagName("output")[0].form is owner |
| 15 PASS document.getElementsByTagName("select")[0].form is owner | 15 PASS document.getElementsByTagName("select")[0].form is owner |
| 16 PASS document.getElementsByTagName("textarea")[0].form is owner | 16 PASS document.getElementsByTagName("textarea")[0].form is owner |
| 17 | 17 |
| 18 - Ensures that the form attribute points the form owner even if the element is w
ithin another form element. | 18 - Ensures that the form attribute points the form owner even if the element is w
ithin another form element. |
| 19 PASS inputElement.form is owner | 19 PASS inputElement.form is owner |
| 20 PASS labelElement.form is owner | 20 PASS labelElement.form is owner |
| 21 | 21 |
| 22 - Ensures that the form attribute of all form-associated element with or witout
form attribute points the form owner. | 22 - Ensures that the form attribute of all form-associated element with or witout
form attribute points the form owner. |
| 23 PASS inputElement1.form is owner | 23 PASS inputElement1.form is owner |
| 24 PASS inputElement2.form is owner | 24 PASS inputElement2.form is owner |
| 25 PASS inputElement3.form is owner | 25 PASS inputElement3.form is owner |
| 26 PASS labelElement1.form is owner | 26 PASS labelElement1.form is null |
| 27 PASS labelElement2.form is owner | 27 PASS labelElement2.form is null |
| 28 PASS labelElement3.form is owner | 28 PASS labelElement3.form is null |
| 29 | 29 |
| 30 - Ensures that the form attribute points the form owner even if the form element
is nested another form element. | 30 - Ensures that the form attribute points the form owner even if the form element
is nested another form element. |
| 31 NOTE: It seems that nesting form elements is not allowed so we ensure each form-
associated elements associate with the outmost form element. | 31 NOTE: It seems that nesting form elements is not allowed so we ensure each form-
associated elements associate with the outmost form element. |
| 32 PASS inputElement1.form is owner | 32 PASS inputElement1.form is owner |
| 33 PASS inputElement2.form is owner | 33 PASS inputElement2.form is owner |
| 34 PASS inputElement3.form is owner | 34 PASS inputElement3.form is owner |
| 35 PASS labelElement1.form is owner | 35 PASS labelElement1.form is null |
| 36 PASS labelElement2.form is owner | 36 PASS labelElement2.form is null |
| 37 PASS labelElement3.form is owner | 37 PASS labelElement3.form is null |
| 38 | 38 |
| 39 - Ensures whether the form owner is set correctly when the value of form attribu
te of a form-associated element changed. | 39 - Ensures whether the form owner is set correctly when the value of form attribu
te of a form-associated element changed. |
| 40 PASS inputElement.form is form1 | 40 PASS inputElement.form is form1 |
| 41 PASS inputElement.form is form2 | 41 PASS inputElement.form is form2 |
| 42 PASS labelElement.form is form1 | |
| 43 PASS labelElement.form is form2 | |
| 44 PASS objectElement.form is form1 | 42 PASS objectElement.form is form1 |
| 45 PASS objectElement.form is form2 | 43 PASS objectElement.form is form2 |
| 46 | 44 |
| 47 - Ensures whether the form owner is set correctly when the value of form attribu
te is added/removed. | 45 - Ensures whether the form owner is set correctly when the value of form attribu
te is added/removed. |
| 48 PASS inputElement.form is null | 46 PASS inputElement.form is null |
| 49 PASS inputElement.form is owner | 47 PASS inputElement.form is owner |
| 50 PASS inputElement.form is null | 48 PASS inputElement.form is null |
| 51 PASS labelElement.form is null | |
| 52 PASS labelElement.form is owner | |
| 53 PASS labelElement.form is null | |
| 54 PASS objectElement.form is null | 49 PASS objectElement.form is null |
| 55 PASS objectElement.form is owner | 50 PASS objectElement.form is owner |
| 56 PASS objectElement.form is null | 51 PASS objectElement.form is null |
| 57 | 52 |
| 58 - Ensures whether the form owner is set correctly when the form owner is added/r
emoved. | 53 - Ensures whether the form owner is set correctly when the form owner is added/r
emoved. |
| 59 PASS owner.name is "firstOwner" | 54 PASS owner.name is "firstOwner" |
| 60 PASS owner.name is "secondOwner" | 55 PASS owner.name is "secondOwner" |
| 61 PASS inputElement.form is owner | 56 PASS inputElement.form is owner |
| 62 PASS labelElement.form is owner | |
| 63 PASS inputElement.form is null | 57 PASS inputElement.form is null |
| 64 PASS labelElement.form is null | |
| 65 PASS inputElement.form is owner | 58 PASS inputElement.form is owner |
| 66 PASS labelElement.form is owner | |
| 67 | 59 |
| 68 - Check if a form and a control are disassociated when they are removed from the
document together. | 60 - Check if a form and a control are disassociated when they are removed from the
document together. |
| 69 PASS owner.elements.length is 1 | 61 PASS owner.elements.length is 1 |
| 70 PASS owner.elements.length is 0 | 62 PASS owner.elements.length is 0 |
| 71 | 63 |
| 72 - Checks if option.form is only set if it has a <select> parent. | 64 - Checks if option.form is only set if it has a <select> parent. |
| 73 PASS option1.form is null | 65 PASS option1.form is null |
| 74 PASS option2.form is null | 66 PASS option2.form is null |
| 75 PASS option3.form is owner | 67 PASS option3.form is owner |
| 76 | 68 |
| 77 - Checks if updating form[id] correctly works | 69 - Checks if updating form[id] correctly works |
| 78 PASS control.form is form1 | 70 PASS control.form is form1 |
| 79 PASS form1.setAttribute("id", "b"); control.form is form2 | 71 PASS form1.setAttribute("id", "b"); control.form is form2 |
| 80 PASS successfullyParsed is true | 72 PASS successfullyParsed is true |
| 81 | 73 |
| 82 TEST COMPLETE | 74 TEST COMPLETE |
| 83 | 75 |
| OLD | NEW |