summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/h2/model-novalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/h2/model-novalid.html')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/h2/model-novalid.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/h2/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/h2/model-novalid.html
new file mode 100644
index 000000000..f4374f4fb
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/h2/model-novalid.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <title>&lt;h2&gt;</title>
+</head>
+<body>
+ <!-- is not strictly inline -->
+ <p><dfn>text
+ <h2>more text</h2>
+ </dfn></p>
+
+ <!-- is not structured inline -->
+ <p>text
+ <h2>more text</h2>
+ </p>
+
+ <!-- cannot contain blocks -->
+ <h2>
+ <p>p1</p>
+ <p>p2</p>
+ </h2>
+
+ <!-- cannot contain structured inline -->
+ <h2>text
+ <ul><li>text</li></ul>
+ </h2>
+</body>
+</html>