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

Unified Diff: LayoutTests/fast/dom/HTMLLabelElement/label-formAssociatedElement.html

Issue 569993002: <label> should support form association by parser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated Created 6 years, 3 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 | LayoutTests/fast/dom/HTMLLabelElement/label-formAssociatedElement-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/HTMLLabelElement/label-formAssociatedElement.html
diff --git a/LayoutTests/fast/dom/HTMLLabelElement/label-formAssociatedElement.html b/LayoutTests/fast/dom/HTMLLabelElement/label-formAssociatedElement.html
new file mode 100644
index 0000000000000000000000000000000000000000..e6ac53e09776950e8b5f6a645745a87803ce985b
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLLabelElement/label-formAssociatedElement.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML>
+<script src='../../../resources/js-test.js'></script>
+<script>
+description('As per spec labels must support form association by parser.');
+</script>
+
+<table>
+ <form id='form'>
+ <tr>
+ <td> <label id='lab'>
+ </tr>
+ </form>
+</table>
+
+<script>
+shouldBeEqualToString('document.getElementById("lab").form.id', 'form');
+</script>
+
« no previous file with comments | « no previous file | LayoutTests/fast/dom/HTMLLabelElement/label-formAssociatedElement-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698