diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/h3')
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/h3/model-isvalid.html | 17 | ||||
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/h3/model-novalid.html | 29 |
2 files changed, 46 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/h3/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/h3/model-isvalid.html new file mode 100644 index 000000000..29a870ea4 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/h3/model-isvalid.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><h3></title> +</head> +<body> + <!-- is block --> + <h3 class="class" id="id" lang="en">text</h3> + + <!-- can contain strictly inline --> + <h3>text <em>elem</em></h3> + + <!-- can contain interactive --> + <h3><a>text</a></h3> +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/h3/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/h3/model-novalid.html new file mode 100644 index 000000000..8df790333 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/h3/model-novalid.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><h3></title> +</head> +<body> + <!-- is not strictly inline --> + <p><dfn>text + <h3>more text</h3> + </dfn></p> + + <!-- is not structured inline --> + <p>text + <h3>more text</h3> + </p> + + <!-- cannot contain blocks --> + <h3> + <p>p1</p> + <p>p2</p> + </h3> + + <!-- cannot contain structured inline --> + <h3>text + <ul><li>text</li></ul> + </h3> +</body> +</html> |