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

Re: [css3-gcpm] Usage of bookmark-target

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Tue, 22 May 2012 00:06:55 +0200
Message-ID: <4FBABC7F.4040108@kozea.fr>
To: Werner Donné <werner.donne@pincette.biz>
CC: www-style@w3.org
Le 21/05/2012 14:33, Werner Donné a écrit :
> Section 7 of the editor's draft proposes bookmark functionality. The
> actual bookmark-tree is generated outside of the document using
> information within the document. The usage of the properties
> "bookmark-label" and "book-mark-level" in the examples suggests that
> the bookmarks are constructed from target-elements, which makes
> sense. However, the "bookmark-target" property seems to suggest that
> bookmarks can be constructed from elements that link to
> target-elements. I think this is in contradiction with the fact that
> a bookmark-tree is purely generated content. If an author has to
> place elements in the document that link to the target-elements, then
> she is in fact constructing the bookmark-tree herself and then those
> elements need a special display type.


We’ve very recently implemented GCPM bookmarks in WeasyPrint, but we 
left bookmark-target out. I could not find an use case, and did not 
quite understand what the property is supposed to do.

The spec is unclear but I can imagine that with an URI composed of only 
a fragment: `url(#foo)`, the bookmark could behave as if it had been set 
on the element pointed to by the fragment. But I’m not sure what is the 
use case. With an URI to an external document however (as in example 37) 
I just don’t understand what it does.

Simon Sapin
Received on Monday, 21 May 2012 22:07:51 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:15 UTC