- From: Bert Bos <bert@w3.org>
- Date: Sun, 27 Mar 2011 18:53:01 +0200
- To: W3C style mailing list mailing list <www-style@w3.org>
The section on leaders says that UAs should try to align the glyphs in leaders in multiple lines. That is indeed often what you want, especially with the most common of all leaders, the dot leader. But sometimes it isn't. You may want to have equal space at the start and end of the leader, or align the glyphs to the left or right. This is an example where I I'd like to get rid of the gap at the right end of the leader: span::after { content: leader("⎯") "→"; font-family: Symbol } I was hoping to create an arrow leader by repeating the horizontal line extension character (\23AF) and ending with a right-pointing arrow (\2192). If you have Prince, you can try my attempt at the bottom of http://www.w3.org/Style/Examples/007/leaders I haven't thought about a good syntax yet, but maybe an optional second parameter on the leader() notation? Or variants of leader() itself? content: leader("⎯", right) "→" content: end-leader("⎯") "→" [1] http://www.w3.org/TR/2010/WD-css3-gcpm-20100608/#leaders Bert -- Bert Bos ( W 3 C ) http://www.w3.org/ http://www.w3.org/people/bos W3C/ERCIM bert@w3.org 2004 Rt des Lucioles / BP 93 +33 (0)4 92 38 76 92 06902 Sophia Antipolis Cedex, France
Received on Sunday, 27 March 2011 16:53:30 UTC