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

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

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Thu, 24 May 2012 15:30:59 +0200
Message-ID: <4FBE3813.3090209@kozea.fr>
To: www-style@w3.org

The bookmark-label property has 5 possible keywords in its Value line, 
but does not define them. It should probably reference the string-set 
property, as the keywords seem to be the same.

Example 35 includes "bookmark-label: attr(title, string)", but the 
attr() syntax is not in the Value line.

Lastly, I think that the label strings, at least when taken from the 
document, should go through the normal whitespace processing. For example:

<h1 style="bookmark-label: contents">
     This title is a bit long but that
     should not  be a problem.

Assuming the initial value for the 'white-space' property, the used 
value for bookmark-label should not include newlines or multiple 
consecutive spaces.

(Maybe this should not apply to <string> values, though.)

Simon Sapin
Received on Thursday, 24 May 2012 13:31:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:16 UTC