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

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

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 16 Aug 2012 09:13:00 -0700
Message-Id: <A3463616-7793-4B0E-B2F5-4BB28DA12E48@gmail.com>
Cc: Simon Sapin <simon.sapin@kozea.fr>, "www-style@w3.org" <www-style@w3.org>
To: Håkon Wium Lie <howcome@opera.com>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:58 GMT