summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/h5
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/h5')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/h5/model-isvalid.html17
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/h5/model-novalid.html29
2 files changed, 46 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/h5/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/h5/model-isvalid.html
new file mode 100644
index 0000000000..6060e03849
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/h5/model-isvalid.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <title>&lt;h5&gt;</title>
+</head>
+<body>
+ <!-- is block -->
+ <h5 class="class" id="id" lang="en">text</h5>
+
+ <!-- can contain strictly inline -->
+ <h5>text <em>elem</em></h5>
+
+ <!-- can contain interactive -->
+ <h5><a>text</a></h5>
+</body>
+</html>
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/h5/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/h5/model-novalid.html
new file mode 100644
index 0000000000..c88504826f
--- /dev/null
+++ b/testing/web-platform/tests/conformance-checkers/html/elements/h5/model-novalid.html
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset=utf-8>
+ <title>&lt;h5&gt;</title>
+</head>
+<body>
+ <!-- is not strictly inline -->
+ <p><dfn>text
+ <h5>more text</h5>
+ </dfn></p>
+
+ <!-- is not structured inline -->
+ <p>text
+ <h5>more text</h5>
+ </p>
+
+ <!-- cannot contain blocks -->
+ <h5>
+ <p>p1</p>
+ <p>p2</p>
+ </h5>
+
+ <!-- cannot contain structured inline -->
+ <h5>text
+ <ul><li>text</li></ul>
+ </h5>
+</body>
+</html>