summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/pre/model-novalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/pre/model-novalid.html')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/pre/model-novalid.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/pre/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/pre/model-novalid.html
new file mode 100644
index 0000000000..384386c2b0
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/pre/model-novalid.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <title>&lt;pre&gt;</title>
+</head>
+<body>
+ <!-- is block -->
+ <pre class="class" id="id" lang="en">text</pre>
+
+ <!-- is structured inline -->
+ <p>paragraph
+ <pre>text</pre>
+ </p>
+
+ <!-- can contain interactive -->
+ <pre><a>text</a></pre>
+ <!-- but not struct-inline -->
+ <p>paragraph
+ <pre><a>text</a></pre>
+ </p>
+
+ <!-- can contain strictly inline -->
+ <pre>text <em>elem</em></pre>
+</body>
+</html>