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

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