Cameron, your patience is as always legendary. Is there some blatant error in my thinking? I do hope the WG will consider my proposal that plain # in a uri works with a symbol as per use. ie to display a single graphic in a viewbox. it doesn't have any other definition, and it's hard to see how this could be misinterpreted. symbols may already have a viewbox which can be used. regards ~:" Jonathan Chetwynd j.chetwynd@btinternet.com http://www.iconomy.org/ +44 (0) 20 7978 1764 On 2 May 2008, at 07:01, Cameron McCormack wrote: > > Jonathan Chetwynd: >> is this supported in UAs? > > I don’t know that any of the desktop browsers do support it yet. > >> I haven't been able to create anything to demonstrate this working in >> squiggle or opera > > Certainly it’s not implemented in Squiggle. > >> I'm really concerned by this, primarily there's no examples, so I'm >> confused. >> in <svg:use> xlink:href='http://www.peepo.org.uk/icon-ark/weather-icons.svgz/#sunnyi' >> will only point to - and display - the single symbol with id #sunny. >> is it correct that this symbol would never be displayed? it's a >> symbol, >> that's a version of my original errata query >> >> i used this file: http://www.peepo.org.uk/icon-ark/weather-icons.svgz >> i added a new id="vsunny" >> >> then tried: file:/Users/jonathanchetwynd/Desktop/weather.svg#vsunny >> but this is merely the default. > > Yes that’d be because the browsers don’t support that #element > yet. > >> also tried: >> file:/Users/jonathanchetwynd/Desktop/ >> weather.svg#vsunny(viewBox(0,0,200,200)) > > The syntax needs to be: > > file:/Users/jonathanchetwynd/Desktop/ > weather.svg#svgView(viewBox(0,0,200,200)) > > I know that SVG view specifications like that will work in Batik and > Opera. > >> <symbol id="sunny" viewBox="0 0 150 150" > > … >> </symbol> >> >> <use xlink:href="#sunny" x="33%" y="72%" width="15%" height="30%" >> id="vsunny"/> >> >> there are a few other things, but better take small steps... > > >> eg: with use-external this seems very confusing requirement to >> duplicate >> ids. > > With the simple #element syntax (which isn’t implemented widely > yet), > you need to have an ID on your <use> element because that’s where > the > graphical content is placed. The <symbol> is just a definition to > re-use. If you had two <use> elements that used the same symbol, then > you need some way to identify which of those two <use>s you want the > initial view to be zoomed to. > > -- > Cameron McCormack ≝ http://mcc.id.au/ >Received on Friday, 2 May 2008 08:20:30 GMT
This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:39 GMT