Re: [css-lists] Interaction with <ol reversed>

On Tue, Jan 21, 2014 at 4:49 PM, Simon Sapin <simon.sapin@exyr.org> wrote:
> 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.

Done.

~TJ

Received on Wednesday, 22 January 2014 02:19:16 UTC