diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/hr')
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/hr/model-isvalid.html | 11 | ||||
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/hr/model-novalid.html | 28 |
2 files changed, 39 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/hr/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/hr/model-isvalid.html new file mode 100644 index 0000000000..4202896bd5 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/hr/model-isvalid.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><hr></title> +</head> +<body> + <!-- is block --> + <hr class="class" id="id" lang="en"> +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/hr/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/hr/model-novalid.html new file mode 100644 index 0000000000..1c76bfb6b1 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/hr/model-novalid.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><hr></title> +</head> +<body> + <!-- is not structured inline --> + <p> + <ul> + <li> + <hr> + </li> + </ul> + </p> + + <!-- is not strictly inline --> + <p><dfn>text + <hr> + </dfn></p> + + <!-- must be empty --> + <hr> + <p>p1</p> + + <hr><em>text</em> +</body> +</html> |