summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-14 14:49:37 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-14 14:49:37 -0700
commitfeabcd3a5d431f5bbc577e87d70a3e2bf3c39e70 (patch)
treeb6b1d8de97ff563caeaf46efe177973b9f1f3d7b /test
parentaa052f8efa0480a6d1da7cfe1b6083e47c095ccd (diff)
Updated spec.
Diffstat (limited to 'test')
-rw-r--r--test/spec.txt49
1 files changed, 47 insertions, 2 deletions
diff --git a/test/spec.txt b/test/spec.txt
index 9b5e9dc..4062998 100644
--- a/test/spec.txt
+++ b/test/spec.txt
@@ -3104,8 +3104,10 @@ A [bullet list marker](@bullet-list-marker)
is a `-`, `+`, or `*` character.
An [ordered list marker](@ordered-list-marker)
-is a sequence of one of more digits (`0-9`), followed by either a
-`.` character or a `)` character.
+is a sequence of 1--9 arabic digits (`0-9`), followed by either a
+`.` character or a `)` character. (The reason for the length
+limit is that with 10 digits we start seeing integer overflows
+in some browsers.)
The following rules define [list items]:
@@ -3374,6 +3376,49 @@ A list item may contain any kind of block:
</ol>
.
+Note that ordered list start numbers must be nine digits or less:
+
+.
+123456789. ok
+.
+<ol start="123456789">
+<li>ok</li>
+</ol>
+.
+
+.
+1234567890. not ok
+.
+<p>1234567890. not ok</p>
+.
+
+A start number may begin with 0s:
+
+.
+0. ok
+.
+<ol start="0">
+<li>ok</li>
+</ol>
+.
+
+.
+003. ok
+.
+<ol start="3">
+<li>ok</li>
+</ol>
+.
+
+A start number may not be negative:
+
+.
+-1. not ok
+.
+<p>-1. not ok</p>
+.
+
+
2. **Item starting with indented code.** If a sequence of lines *Ls*
constitute a sequence of blocks *Bs* starting with an indented code
block and not separated from each other by more than one blank line,