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
Hi,


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.
</h1>

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.)


Regards,
-- 
Simon Sapin
Received on Thursday, 24 May 2012 13:31:33 GMT

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