Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/forms/the-label-element/label-attributes-expected.txt

Issue 2000423006: Drop LABEL element from form-associated elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 an implicit label. 9 PASS A form control has an implicit label.
10 PASS A form control has no label 1. 10 PASS A form control has no label 1.
11 PASS A form control has no label 2. 11 PASS A form control has no label 2.
12 FAIL A label in a form without a control assert_equals: The 'form' property for a label should return null if label.control is null. expected null but got Eleme nt node <form id="fm" style="display:none"> 12 PASS A label in a form without a control
13 <label id="lbl0" fo... 13 PASS A label outside a form with a control inside the form
14 FAIL A label outside a form with a control inside the form assert_equals: The 'f orm' property for a label should return label.control.form. expected Element nod e <form id="fm" style="display:none">
15 <label id="lbl0" fo... but got null
16 PASS A label's htmlFor attribute must reflect the for content attribute 14 PASS A label's htmlFor attribute must reflect the for content attribute
17 Harness: the test ran to completion. 15 Harness: the test ran to completion.
18 16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698