summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/kbd/model-isvalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/kbd/model-isvalid.html')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/kbd/model-isvalid.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/kbd/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/kbd/model-isvalid.html
new file mode 100644
index 0000000000..45646d0eb5
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/kbd/model-isvalid.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <title>&lt;kbd&gt;</title>
+</head>
+<body>
+ <!-- is structured inline -->
+ <p><kbd class="class" lang="en">text</kbd></p>
+
+ <!-- is strictly inline -->
+ <p><dfn><kbd class="class" lang="en">text</kbd></dfn></p>
+
+ <!-- can be empty -->
+ <p>text <kbd></kbd></p>
+ <p>text <dfn><kbd></kbd></dfn></p>
+
+ <!-- can contain interactive -->
+ <p><kbd><a>text</a></kbd></p>
+ <p><dfn><kbd><a>text</a></kbd></dfn></p>
+
+</body>
+</html>