summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/conformance-checkers/html/elements/ol/model-novalid.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/ol/model-novalid.html')
-rw-r--r--testing/web-platform/tests/conformance-checkers/html/elements/ol/model-novalid.html55
1 files changed, 55 insertions, 0 deletions
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: &lt;ol&gt; &lt;li&gt;</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>