summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/option
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/option')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/option/label-isvalid.html6
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/option/label-novalid.html6
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/option/model-isvalid.html6
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/option/model-novalid.html6
4 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/option/label-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/option/label-isvalid.html
new file mode 100644
index 0000000000..66c3a4f080
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/option/label-isvalid.html
@@ -0,0 +1,6 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>option element with label attribute</title>
+<select>
+<option label=foo></option>
+</select>
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/option/label-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/option/label-novalid.html
new file mode 100644
index 0000000000..c68367a4fc
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/option/label-novalid.html
@@ -0,0 +1,6 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>option element with empty label attribute</title>
+<select>
+<option label=""></option>
+</select>
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/option/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/option/model-isvalid.html
new file mode 100644
index 0000000000..7cc75ab806
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/option/model-isvalid.html
@@ -0,0 +1,6 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>non-empty option element</title>
+<select>
+<option>foo</option>
+</select>
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/option/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/option/model-novalid.html
new file mode 100644
index 0000000000..dbe431d5f5
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/option/model-novalid.html
@@ -0,0 +1,6 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>empty option element</title>
+<select>
+<option></option>
+</select>