diff options
Diffstat (limited to '')
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/div/model-isvalid.html | 20 | ||||
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/div/model-novalid.html | 27 |
2 files changed, 47 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/div/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/div/model-isvalid.html new file mode 100644 index 0000000000..8d1ad0bf85 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/div/model-isvalid.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><div></title> +</head> +<body> + <!-- is block, contains blocks --> + <div class="class" id="id" lang="en"> + <p>text</p> + <p>text2</p> + <ul></ul> + </div> + + <!-- can contain interactive --> + <div> + <p><a>text</a></p> + </div> +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/div/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/div/model-novalid.html new file mode 100644 index 0000000000..a7d8e4f60d --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/div/model-novalid.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title><div></title> +</head> +<body> + <!-- is not strictly inline --> + <p><dfn>text + <div> + <p>text</p> + </div> + </dfn></p> + + <!-- is not structured inline --> + <p>text + <div> + <p>text</p> + </div> + </p> + + <!-- cannot contain inline --> + <div> + some <em>text</em> + </div> +</body> +</html> |