W3C home > Mailing lists > Public > www-style@w3.org > January 2014

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 21 Jan 2014 18:18:27 -0800
Message-ID: <CAAWBYDAEiLJWGrwRS2uN7iLWF5ZDJfMcMeieA5xONT6VPu9jLQ@mail.gmail.com>
To: Simon Sapin <simon.sapin@exyr.org>
Cc: www-style list <www-style@w3.org>
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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:38 UTC