summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/label
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/label')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/label/for-descendant-no-id-novalid.html1
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/label/for-isvalid.html1
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/label/multiple-descendants-novalid.html1
3 files changed, 3 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/label/for-descendant-no-id-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/label/for-descendant-no-id-novalid.html
new file mode 100644
index 0000000000..2f1ed73f2b
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/label/for-descendant-no-id-novalid.html
@@ -0,0 +1 @@
+<!doctype html><meta charset=utf-8><title>&lt;input id=a>&lt;label for=a>&lt;input></title><p>There should be an error. <input id=a><label for=a><input></label>
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/label/for-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/label/for-isvalid.html
new file mode 100644
index 0000000000..c4a4e60da4
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/label/for-isvalid.html
@@ -0,0 +1 @@
+<!doctype html><meta charset=utf-8><title>&lt;label for=a>&lt;input id=a></title><p>There should be no error. <label for=a><input id=a></label>
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/label/multiple-descendants-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/label/multiple-descendants-novalid.html
new file mode 100644
index 0000000000..014085bb6b
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/label/multiple-descendants-novalid.html
@@ -0,0 +1 @@
+<!doctype html><meta charset=utf-8><title>&lt;label>&lt;input>&lt;input></title><p>There should be an error. <label><input><input></label>