summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/attributes/data
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/attributes/data')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/attributes/data/no-characters-after-hyphen-novalid.html4
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/attributes/data/not-xml-serializable-novalid.html4
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/attributes/data/value-isvalid.html7
3 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/attributes/data/no-characters-after-hyphen-novalid.html b/testing/web-platform/tests/conformance-checkers/html/attributes/data/no-characters-after-hyphen-novalid.html
new file mode 100644
index 0000000000..b30b1f9a71
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/attributes/data/no-characters-after-hyphen-novalid.html
@@ -0,0 +1,4 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>starts with the string "data-", has at least one character after the hyphen, is XML-compatible, and contains no uppercase ASCII letters</title>
+<p data-=""> <!-- no characters after the hypen -->
diff --git a/testing/web-platform/tests/conformance-checkers/html/attributes/data/not-xml-serializable-novalid.html b/testing/web-platform/tests/conformance-checkers/html/attributes/data/not-xml-serializable-novalid.html
new file mode 100644
index 0000000000..7bcbfcbf5e
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/attributes/data/not-xml-serializable-novalid.html
@@ -0,0 +1,4 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>starts with the string "data-", has at least one character after the hyphen, is XML-compatible, and contains no uppercase ASCII letters</title>
+<p data-z:foo=""><!-- not serializable as XML -->
diff --git a/testing/web-platform/tests/conformance-checkers/html/attributes/data/value-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/attributes/data/value-isvalid.html
new file mode 100644
index 0000000000..96f0917d48
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/attributes/data/value-isvalid.html
@@ -0,0 +1,7 @@
+<!doctype html>
+<meta charset=utf-8>
+<title>valid data-</title>
+<!-- starts with the string "data-", has at least one character after the hyphen, is XML-compatible, and contains no uppercase ASCII letters -->
+<p data-z="">
+<!-- starts with the string "data-", has at least one character after the hyphen, is XML-compatible, and contains no uppercase ASCII letters -->
+<p data-78zxyabc123-foo_bar_baz="">