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