summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/samp/model-novalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/samp/model-novalid.html')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/samp/model-novalid.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/samp/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/samp/model-novalid.html
new file mode 100644
index 0000000000..27d469d7a5
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/samp/model-novalid.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <title>&lt;samp&gt;</title>
+</head>
+<body>
+ <!-- is structured inline -->
+ <p><samp class="class" lang="en">text</samp></p>
+
+ <!-- is strictly inline -->
+ <p><dfn><samp class="class" 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>
+
+ <!-- cannot contain structured inline -->
+ <p><samp>text <ul><li>list</li></ul> <em>elem</em></samp></p>
+</body>
+</html>