Re: [svg-developers] Re: Embed SVG from SVG

2010-10-22 Thread Jacob Beard
Here's FF3.6 on Ubuntu 10.04:
http://live.echo-flow.com/stackoverflow/www.vanvanvans.com/test/ff3.6-svg-zoom.png
FF4b6 on Ubuntu:
http://live.echo-flow.com/stackoverflow/www.vanvanvans.com/test/ff4b6-svg-zoom.png

I see you're using Minefield, though. Maybe this is a new bug, and should be
reported.

Jake

On Fri, Oct 22, 2010 at 5:20 PM, Andreas paw...@web.de wrote:



 A screenshot:

 http://www.flickr.com/photos/75063...@n00/5105193014/


 --- In svg-developers@yahoogroups.com svg-developers%40yahoogroups.com,
 Jacob Beard jbea...@... wrote:
 
  Really? That seems to be working for me.
 
  Jake
 
  On Thu, Oct 21, 2010 at 9:42 PM, Andreas paw...@... wrote:
 
  
  
   In your example, it don't zoom in Fox.
  
  
   --- In 
   svg-developers@yahoogroups.comsvg-developers%40yahoogroups.comsvg-developers%
 40yahoogroups.com,
   Jacob Beard jbeard4@ wrote:
   
Hi Marjn,
   
So, this turned out to be less straightforward than I was expecting.
Basically, I know of two ways to embed external SVG content inside an
 SVG
document: using the image element, and using the use element.
Unfortunately, Gecko, including Firefox 3.6 and 4b6, seems to not
 support
using image with external SVG resources; however, it does work with
 the
   use
element. On the other hand, there has been a longstanding webkit
 bug[0]
   that
has prevented the use element from linking to external resources;
 but,
webkit does support using image with external resources. So, in order
 to
make this work across browsers, some work is required:
   
   
  
 http://live.echo-flow.com/stackoverflow/www.vanvanvans.com/test/embed.svg
   
The shapes in the middle should now load everywhere. I added an extra
   column
of shapes on the far right: the star should load everywhere expect
 Webkit
browsers, and the circle should load everywhere but Firefox. I think
 the
markup I use to make this work is pretty evil, and it might just be
   better
to duplicate each image element. If anyone has any suggestions for
improvements, I'd like to hear it.
   
Best,
   
Jake
   
[0] https://bugs.webkit.org/show_bug.cgi?id=12499
   
On Tue, Oct 19, 2010 at 8:58 AM, marijn.kampf yahoo.com@ wrote:
   


 Thanks for looking at this Jake, a live example can be found at:
 http://www.vanvanvans.com/test/embed.svg
 it should display two red circles and two red stars, however the
 svg
   files
 aren't shown, only the png files. All files are present in the same
   folder.

 Marijn


 --- In 
 svg-developers@yahoogroups.comsvg-developers%40yahoogroups.com
 svg-developers%40yahoogroups.comsvg-developers%

   40yahoogroups.com,
  
 Jacob Beard jbeard4@ wrote:
 
  Yes, this should be supported. It's hard to tell where this is
   failing
 just
  by looking at the text. Can you post a live example?
 
  Jake



   
   
[Non-text portions of this message have been removed]
   
  
  
  
 
 
  [Non-text portions of this message have been removed]
 

  



[Non-text portions of this message have been removed]





-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [svg-developers] Re: Embed SVG from SVG

2010-10-21 Thread Jacob Beard
Really? That seems to be working for me.

Jake

On Thu, Oct 21, 2010 at 9:42 PM, Andreas paw...@web.de wrote:



 In your example, it don't zoom in Fox.


 --- In svg-developers@yahoogroups.com svg-developers%40yahoogroups.com,
 Jacob Beard jbea...@... wrote:
 
  Hi Marjn,
 
  So, this turned out to be less straightforward than I was expecting.
  Basically, I know of two ways to embed external SVG content inside an SVG
  document: using the image element, and using the use element.
  Unfortunately, Gecko, including Firefox 3.6 and 4b6, seems to not support
  using image with external SVG resources; however, it does work with the
 use
  element. On the other hand, there has been a longstanding webkit bug[0]
 that
  has prevented the use element from linking to external resources; but,
  webkit does support using image with external resources. So, in order to
  make this work across browsers, some work is required:
 
 
 http://live.echo-flow.com/stackoverflow/www.vanvanvans.com/test/embed.svg
 
  The shapes in the middle should now load everywhere. I added an extra
 column
  of shapes on the far right: the star should load everywhere expect Webkit
  browsers, and the circle should load everywhere but Firefox. I think the
  markup I use to make this work is pretty evil, and it might just be
 better
  to duplicate each image element. If anyone has any suggestions for
  improvements, I'd like to hear it.
 
  Best,
 
  Jake
 
  [0] https://bugs.webkit.org/show_bug.cgi?id=12499
 
  On Tue, Oct 19, 2010 at 8:58 AM, marijn.kampf yahoo@... wrote:
 
  
  
   Thanks for looking at this Jake, a live example can be found at:
   http://www.vanvanvans.com/test/embed.svg
   it should display two red circles and two red stars, however the svg
 files
   aren't shown, only the png files. All files are present in the same
 folder.
  
   Marijn
  
  
   --- In 
   svg-developers@yahoogroups.comsvg-developers%40yahoogroups.comsvg-developers%
 40yahoogroups.com,

   Jacob Beard jbeard4@ wrote:
   
Yes, this should be supported. It's hard to tell where this is
 failing
   just
by looking at the text. Can you post a live example?
   
Jake
  
  
  
 
 
  [Non-text portions of this message have been removed]
 

  



[Non-text portions of this message have been removed]





-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [svg-developers] Re: Embed SVG from SVG

2010-10-19 Thread Jacob Beard
Hi Marjn,

So, this turned out to be less straightforward than I was expecting.
Basically, I know of two ways to embed external SVG content inside an SVG
document: using the image element, and using the use element.
Unfortunately, Gecko, including Firefox 3.6 and 4b6, seems to not support
using image with external SVG resources; however, it does work with the use
element. On the other hand, there has been a longstanding webkit bug[0] that
has prevented the use element from linking to external resources; but,
webkit does support using image with external resources. So, in order to
make this work across browsers, some work is required:

http://live.echo-flow.com/stackoverflow/www.vanvanvans.com/test/embed.svg

The shapes in the middle should now load everywhere. I added an extra column
of shapes on the far right: the star should load everywhere expect Webkit
browsers, and the circle should load everywhere but Firefox. I think the
markup I use to make this work is pretty evil, and it might just be better
to duplicate each image element. If anyone has any suggestions for
improvements, I'd like to hear it.

Best,

Jake

[0] https://bugs.webkit.org/show_bug.cgi?id=12499

On Tue, Oct 19, 2010 at 8:58 AM, marijn.kampf yahoo@gwobbel.com wrote:



 Thanks for looking at this Jake, a live example can be found at:
 http://www.vanvanvans.com/test/embed.svg
 it should display two red circles and two red stars, however the svg files
 aren't shown, only the png files. All files are present in the same folder.

 Marijn


 --- In svg-developers@yahoogroups.com svg-developers%40yahoogroups.com,
 Jacob Beard jbea...@... wrote:
 
  Yes, this should be supported. It's hard to tell where this is failing
 just
  by looking at the text. Can you post a live example?
 
  Jake

  



[Non-text portions of this message have been removed]





-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [svg-developers] Re: Embed SVG from SVG

2010-10-19 Thread Charles McCathieNevile
On Tue, 19 Oct 2010 08:58:24 +0200, marijn.kampf yahoo@gwobbel.com  
wrote:

 Thanks for looking at this Jake, a live example can be found at:
 http://www.vanvanvans.com/test/embed.svg
 it should display two red circles and two red stars, however the svg  
 files aren't shown, only the png files. All files are present in the  
 same folder.

Works fine for me (Opera). Where are you seeing the problem?

cheers

Chaals

-- 
Charles McCathieNevile  Opera Software, Standards Group
 je parle français -- hablo español -- jeg lærer norsk
http://my.opera.com/chaals   Try Opera: http://www.opera.com




-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [svg-developers] Re: Embed SVG from SVG

2010-10-19 Thread Jerrold Maddox
It also works in Safari.

Jerry

On Tue, Oct 19, 2010 at 9:19 AM, Charles McCathieNevile cha...@opera.comwrote:



 On Tue, 19 Oct 2010 08:58:24 +0200, marijn.kampf 
 yahoo@gwobbel.comyahoo.com%40gwobbel.com

 wrote:

  Thanks for looking at this Jake, a live example can be found at:
  http://www.vanvanvans.com/test/embed.svg
  it should display two red circles and two red stars, however the svg
  files aren't shown, only the png files. All files are present in the
  same folder.

 Works fine for me (Opera). Where are you seeing the problem?

 cheers

 Chaals

 --
 Charles McCathieNevile Opera Software, Standards Group
 je parle français -- hablo español -- jeg lærer norsk
 http://my.opera.com/chaals Try Opera: http://www.opera.com
  



[Non-text portions of this message have been removed]





-
To unsubscribe send a message to: svg-developers-unsubscr...@yahoogroups.com
-or-
visit http://groups.yahoo.com/group/svg-developers and click edit my 
membership
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)

* To change settings via email:
svg-developers-dig...@yahoogroups.com 
svg-developers-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
svg-developers-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/