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