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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLLabelElement/form/test1.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/HTMLLabelElement/form/test1-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/dom/HTMLLabelElement/form/test1.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLLabelElement/form/test1.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLLabelElement/form/test1.html
deleted file mode 100644
index 4af78c74bcca4fd62c3f4524381732728dcea5cc..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLLabelElement/form/test1.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<html>
- <head>
- <script language="javascript">
- function print(message)
- {
- var paragraph = document.createElement("p");
- paragraph.appendChild(document.createTextNode(message));
- document.getElementById("console").appendChild(paragraph);
- }
- function test()
- {
- if(window.testRunner)
- testRunner.dumpAsText();
-
- labelInsideForm = document.getElementById("labelInsideForm");
- labelNotInsideForm = document.getElementById("labelNotInsideForm");
-
- form = document.getElementById("form");
-
- if(labelInsideForm.form == form)
- print("Passed");
- else
- print("Failed");
-
- if(labelNotInsideForm.form == null)
- print("Passed");
- else
- print("Failed");
- }
- </script>
- </head>
-
- <body onload="test();">
- <p>This test attempts to access an HTMLLabelElement's form property. The first test accesses the form property of an label which is inside of a form. The second test accesses the form property of an label which is not inside of a form</p>
-
- <div id="console"></div>
-
- <form id="form">
- <label id="labelInsideForm">
- </label>
- </form>
-
- <label id="labelNotInsideForm">
- </label>
- </body>
-</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/dom/HTMLLabelElement/form/test1-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698