- From: Håkon Wium Lie <howcome@opera.com>
- Date: Thu, 16 Aug 2012 15:57:42 +0200
- To: Werner Donné <werner.donne@pincette.biz>
- Cc: www-style@w3.org
Also sprach Werner Donné:
> 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.
>
> h1
> {
> bookmark-label: content-after " " content-element;
> margin-bottom: 2.4em;
> text-align-last: justify;
> }
>
> h1:after
> {
> content: leader(space) counter(h1);
> font-family: serif;
> font-size: 3em;
> font-style: italic;
> text-transform: uppercase;
> }
I think it's a good and convincing example. I've changed
"bookmark-label" accordingly in the editor's draft:
http://dev.w3.org/csswg/css3-gcpm/#bookmarks
It's a simple change from the spec's perspective, but what do
implementors think?
-h&kon
Håkon Wium Lie CTO °þe®ª
howcome@opera.com http://people.opera.com/howcome
Received on Thursday, 16 August 2012 13:58:22 UTC