summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/xhtml/elements/samp/011-isvalid.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/xhtml/elements/samp/011-isvalid.xhtml')
-rw-r--r--testing/web-platform/tests/conformance-checkers/xhtml/elements/samp/011-isvalid.xhtml20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/xhtml/elements/samp/011-isvalid.xhtml b/testing/web-platform/tests/conformance-checkers/xhtml/elements/samp/011-isvalid.xhtml
new file mode 100644
index 0000000000..7068383921
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/xhtml/elements/samp/011-isvalid.xhtml
@@ -0,0 +1,20 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>&lt;samp&gt;</title>
+</head>
+<body>
+ <!-- is structured inline -->
+ <p><samp class="class" xml:lang="en">text</samp></p>
+
+ <!-- is strictly inline -->
+ <p><dfn><samp class="class" xml:lang="en">text</samp></dfn></p>
+
+ <!-- can be empty -->
+ <p>text <samp></samp></p>
+ <p>text <dfn><samp></samp></dfn></p>
+
+ <!-- can contain interactive -->
+ <p><samp><a>text</a></samp></p>
+ <p><dfn><samp><a>text</a></samp></dfn></p>
+</body>
+</html>