W3C home > Mailing lists > Public > www-style@w3.org > May 2012

[css3-gcpm] The value of bookmark-label should be a list

From: Werner Donné <werner.donne@pincette.biz>
Date: Fri, 25 May 2012 10:30:21 +0200
To: www-style@w3.org
Message-Id: <6D300F57-6D37-4AA7-956C-3CA75176E431@pincette.biz>

The value of the "bookmark-label" property should be a list, reminiscent of the "content" property, because the various content parts could be rearranged. The following example uses some fancy typesetting for titles. The chapter number comes after the title, is much larger and is right-aligned. For the bookmark label it would be normal to expect the number before the title, because no fancy typesetting is desired in that context.

    bookmark-label: content-after " " content-element;
    margin-bottom: 2.4em;
    text-align-last: justify;

    content: leader(space) counter(h1);
    font-family: serif;
    font-size: 3em;
    font-style: italic;
    text-transform: uppercase;

Best regards,

Handling your documents with care, wherever you are.
Received on Friday, 25 May 2012 08:31:08 UTC

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