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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/form-associated-element.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-associated-element.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/form-associated-element.html b/third_party/WebKit/LayoutTests/fast/forms/form-associated-element.html
index a30eeb4a4af9729e48131c0b87cbee42d457b274..649e0c2149450fbb0c348d08b6f49d2d41f2e597 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/form-associated-element.html
+++ b/third_party/WebKit/LayoutTests/fast/forms/form-associated-element.html
@@ -18,14 +18,14 @@ function hasFormOwner(shouldHaveOwner, haveIt, event)
<body>
<div style="display: none;">
<form id=topForm>
-<label form=topForm onerror="" onclick="hasFormOwner(true, typeof canary !== 'undefined' && canary, event);"><input type="button"/></label>
+<label form=topForm onerror="" onclick="hasFormOwner(false, typeof canary !== 'undefined' && canary, event);"><input type="button"/></label>
<!-- Form-associated elements per http://whatwg.org/specs/web-apps/current-work/#form-associated-element -->
<button onerror="hasFormOwner(true, typeof canary !== 'undefined' && canary, event);"></button>
<fieldset onerror="hasFormOwner(true, typeof canary !== 'undefined' && canary, event);"></fieldset>
<input type=radio onerror="hasFormOwner(true, typeof canary !== 'undefined' && canary, event);"/>
<input type=number onerror="hasFormOwner(true, typeof canary !== 'undefined' && canary, event);"/>
<keygen keytype=rsa onerror="hasFormOwner(true, typeof canary !== 'undefined' && canary, event);"></keygen>
-<label onerror="" onclick="hasFormOwner(true, typeof canary !== 'undefined' && canary, event);"><input type="button"/></label>
+<label onerror="" onclick="hasFormOwner(false, typeof canary !== 'undefined' && canary, event);"><input type="button"/></label>
<object onerror="hasFormOwner(true, typeof canary !== 'undefined' && canary, event);"></object>
<select onerror="hasFormOwner(true, typeof canary !== 'undefined' && canary, event);"></select>
<textarea onerror="hasFormOwner(true, typeof canary !== 'undefined' && canary, event);"></textarea>

Powered by Google App Engine
This is Rietveld 408576698