- From: Håkon Wium Lie <howcome@opera.com>
- Date: Sun, 10 Aug 2008 23:20:37 +0200
- 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: http://www.w3.org/TR/css3-border/#border-image For example, we could allow this: a { content: leader(url(foo.svg)) target-counter(attr(href), page) Cheers, -h&kon Håkon Wium Lie CTO °þe®ª howcome@opera.com http://people.opera.com/howcome
Received on Sunday, 10 August 2008 21:21:30 UTC