[css-lists] Interaction with <ol reversed>

Hi,

In its Sample style sheet for HTML, css-lists has rules to express 
<ol>’s 'start' attribute as well as <li>’s 'value' attribute.

It does not, however, express <ol>’s 'reversed' attribute. Part of it is:

   ol[reversed] > li {
     counter-increment: list-item -1,
   }


The other part is that if the <ol> element does not have a start 
attribute (or the attribute value does not parse as an integer), 'start' 
should default to the number of child <li> elements. This can not be 
expressed purely in CSS, but should still be mentioned.


http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#attr-ol-reversed


Cheers,
-- 
Simon Sapin

Received on Wednesday, 22 January 2014 00:50:22 UTC