Re: [css3-gcpm] bookmark-label: keyword definitions and whitespace processing

On Aug 16, 2012, at 6:59 AM, Håkon Wium Lie <howcome@opera.com> wrote:

> I agree that 'bookmark-level' can be used as the on/off switch for
> bookmarks, but I'd probably prefer to use 'bookmark-label' as the
> switch. This way one can have (say) this in the default style sheet:
> 
>  h1 { bookmark-level: 1 }
>  h2 { bookmark-level: 2 }
>  h3 { bookmark-level: 3 }
> 
> without triggering the generation of bookmarks. Bookmarks can then be
> switched on with:
> 
>  h1, h2, h3 { bookmark-label: contents }
> 
> (or something)
> 
> Thus, one can turn on bookmarks with one declaration rather than
> having to use (and remember) many levels.

This seems like a good argument, especially if all the H* elects were styled with their respective bookmark-level declarations in the UA stylesheet. 

Received on Thursday, 16 August 2012 16:13:34 UTC