| OLD | NEW |
| 1 This is a testharness.js-based test. | 1 This is a testharness.js-based test. |
| 2 PASS A label element with a 'for' attribute should only be associated with a lab
elable element. | 2 PASS A label element with a 'for' attribute should only be associated with a lab
elable element. |
| 3 FAIL A label element not in a document can not label any element in the document
. assert_not_equals: A label element not in a document should not label an eleme
nt in a document. got disallowed value Element node <input id="test1"></input> | 3 FAIL A label element not in a document can not label any element in the document
. assert_not_equals: A label element not in a document should not label an eleme
nt in a document. got disallowed value Element node <input id="test1"></input> |
| 4 PASS The labeled control for a label element that has no 'for' attribute is the
first labelable element which is a descendant of that label element. | 4 PASS The labeled control for a label element that has no 'for' attribute is the
first labelable element which is a descendant of that label element. |
| 5 PASS The 'for' attribute points to an inexistent id. | 5 PASS The 'for' attribute points to an inexistent id. |
| 6 PASS A non-control follows by a control with same ID. | 6 PASS A non-control follows by a control with same ID. |
| 7 PASS The 'for' attribute is an empty string. | 7 PASS The 'for' attribute is an empty string. |
| 8 PASS A form control has multiple labels. | 8 PASS A form control has multiple labels. |
| 9 PASS A form control has no label 1. | 9 PASS A form control has no label 1. |
| 10 PASS A form control has no label 2. | 10 PASS A form control has no label 2. |
| 11 PASS A label's form attribute should return its form owner. | 11 PASS A label's form attribute should return its form owner. |
| 12 PASS Check that the labels property of a form control with no label returns a ze
ro-length NodeList. | 12 PASS Check that the labels property of a form control with no label returns a ze
ro-length NodeList. |
| 13 Harness: the test ran to completion. | 13 Harness: the test ran to completion. |
| 14 | 14 |
| OLD | NEW |