diff options
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/ul')
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/ul/model-isvalid.html | 39 | ||||
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/ul/model-novalid.html | 55 |
2 files changed, 94 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/ul/model-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/ul/model-isvalid.html new file mode 100644 index 0000000000..3f3adbf9b4 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/ul/model-isvalid.html @@ -0,0 +1,39 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title>Unordered List: <ul> <li></title> +</head> +<body> + <!-- is block --> + <ul class="class" id="id" lang="en"> + <li class="class" id="id2" lang="en">text</li> + </ul> + + <!-- can be empty --> + <ul></ul> + <ul> + <li></li> + <li></li> + </ul> + + <!-- can contain structured inline --> + <ul> + <li>some <em>text</em> + <pre>more text</pre> + </li> + </ul> + + <!-- can contain blocks --> + <ul> + <li> + <p>some</p> + <p>text</p> + </li> + </ul> + + <!-- can contain interactive --> + <ul><li><a>text</a></li></ul> + +</body> +</html> diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/ul/model-novalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/ul/model-novalid.html new file mode 100644 index 0000000000..9bb4bf0903 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/ul/model-novalid.html @@ -0,0 +1,55 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset=utf-8> + <title>Unordered List: <ul> <li></title> +</head> +<body> + <!-- is block --> + <ul class="class" id="id" lang="en"> + <li class="class" id="id" lang="en">text</li> + </ul> + + <!-- is structured inline --> + <p>paragraph + <ul class="class" id="id" lang="en"> + <li class="class" id="id" lang="en">text</li> + </ul> + </p> + + <!-- can be empty --> + <ul></ul> + <ul> + <li></li> + <li></li> + </ul> + + <!-- cannot contain structured inline --> + <ul> + <li>some <em>text</em> + <pre>more text</pre> + </li> + </ul> + <p>paragraph + <ul> + <li>some <em>text</em> + <pre>more text</pre> + </li> + </ul> + </p> + + <!-- can contain blocks --> + <ul> + <li> + <p>some</p> + <p>text</p> + </li> + </ul> + + <!-- can contain interactive --> + <ul><li><a>text</a></li></ul> + <p>paragraph + <ul><li><a>text</a></li></ul> + </p> +</body> +</html> |