HTML 4.01 Test Suite - Assertions
Testable Assertions: Section 10 Lists
10 Lists - Unordered, Ordered, and Definition Lists
(may) Lists may be nested.
(may) Different list types may be used together.
(must) (deprecated) type = style-information [CI] This attribute sets the style of a list item. Currently available values are intended for visual user agents. For the UL element, possible values for the type attribute are disc, square, and circle. For the OL element, possible values for the type attribute are 1, a, A, i, and I. These values are case-insensitive.
(must) (deprecated) start = number [CN] For OL only. This attribute specifies the starting number of the first item in an ordered list. The default starting number is "1". Note that while the value of this attribute is an integer, the corresponding label may be non-numeric. Thus, when the list item style is uppercase latin letters (A, B, C, ...), start=3 means "C". When the style is lowercase roman numerals, start=3 means "iii", etc.
(must) (deprecated) value = number [CN] For LI only. This attribute sets the number of the current list item. Note that while the value of this attribute is an integer, the corresponding label may be non-numeric (see the start attribute).
(may) (deprecated) compact [CI] When set, this boolean attribute gives a hint to visual user agents to render the list in a more compact way. The interpretation of this attribute depends on the user agent.
Assertion 10. 2-7
(must) Ordered and unordered lists are rendered in an identical manner except that visual user agents number ordered list items.
(must) Unordered list items are not numbered.
(must) Both ordered and unordered lists are made up of sequences of list items defined by the LI element.
(may) Authors can reset the number of a list item by setting its value attribute. Numbering continues from the new value for subsequent list items.
(should) Visual user agents generally indent nested lists with respect to the current level of nesting.
(should) For the UL element, possible values for the type attribute are disc, square, and circle. The default value depends on the level of nesting of the current list. These values are case-insensitive. How each value is presented depends on the user agent. User agents should attempt to present a "disc" as a small filled-in circle, a "circle" as a small circle outline, and a "square" as a small square outline.
(must) For the OL element, possible values for the type attribute are summarized in the table below (they are case-sensitive):
||1, 2, 3, ...
||a, b, c, ...
||A, B, C, ...
||i, ii, iii, ...
||I, II, III, ...
(must)(deprecated) DIR and MENU are deprecated. Both elements have the same structure as UL, just different rendering. In practice, a user agent will render a DIR or MENU list exactly as a UL list