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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/form-attribute-nonexistence-form-id.html

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, 7 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/forms/form-attribute-nonexistence-form-id.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/form-attribute-nonexistence-form-id.html b/third_party/WebKit/LayoutTests/fast/forms/form-attribute-nonexistence-form-id.html
index 8d35891b42dd0d836eb02dd3675b1367d3ccb052..eabae5e639c175f69262d13f4187e41fb959ea2a 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/form-attribute-nonexistence-form-id.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/form-attribute-nonexistence-form-id.html
@@ -18,12 +18,12 @@ description('This page ensures that <input from="X"> and <label from="X
var form = document.getElementById('form');
var inputShouldHaveForm = document.getElementById('input1');
var inputShouldNotHaveForm = document.getElementById('input2');
-var labelShouldHaveForm = document.getElementById('label1');
-var labelShouldNotHaveForm = document.getElementById('label2');
+var labelWithoutForm = document.getElementById('label1');
+var labelWithInvalidForm = document.getElementById('label2');
shouldBe('inputShouldHaveForm.form', 'form');
shouldBeNull('inputShouldNotHaveForm.form');
-shouldBe('labelShouldHaveForm.form', 'form');
-shouldBeNull('labelShouldNotHaveForm.form');
+shouldBeNull('labelWithoutForm.form');
+shouldBeNull('labelWithInvalidForm.form');
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698