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

Re: [css3-gcpm] Spacing and alignment of leaders

From: Håkon Wium Lie <howcome@opera.com>
Date: Sun, 10 Aug 2008 23:20:37 +0200
Message-ID: <18591.23461.786265.184629@opera.com>
To: "Ian Tindale" <ian.tindale@gmail.com>
Cc: www-style@w3c.org

Also sprach Ian Tindale:

 > There's a possibility of doing something with leaders now that we couldn't
 > in the hot-metal days, and that is to programmatically 'create' a run,
 > without thinking in terms of direct application of glyphs. In other words,
 > being able to call on a specific SVG definition of what we want. An
 > additional calling mechanism to SVG for such occasions (perhaps svg()
 > maybe?) with a fallback to the glyph-based rule syntax described so far,
 > could allow an SVG engine to take the load and the responsibility, if
 > available.

Yes, this seems possible. It's probably out of scope for this version
of GCPM, though -- we're trying to replicate common functionality
rather than extending it.

If we were to add it at some point, I would suggest using URLs to
refer to external resource. This could be an image or a scalable
graphics. The Borders and Backgrounds module does this:


For example, we could allow this:

  a { content: leader(url(foo.svg))  target-counter(attr(href), page)


              Håkon Wium Lie                          CTO °þe®ª
howcome@opera.com                  http://people.opera.com/howcome
Received on Sunday, 10 August 2008 21:21:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:39 UTC