Re: [svg-developers] access svg elements from HTML5

2012-02-23 Thread JERROLD WARREN MADDOX
Here are 4 different ways you can try:       http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink";> - Original Message - From: "Diana" To: svg-developers@yahoogroups.com Sent: Wednesday, February 22, 2012 8:01:13 PM Subjec

[svg-developers] Bounding box bug in webkit

2012-02-23 Thread David Dailey
http://granite.sru.edu/~ddailey/svg/B/bbox2.3.svg Both Safari and Chrome miscalculate the bounding box in this example rather dramatically. The other browsers (IE, Opera, FF, and ASV) all seem okay. I can't remember how to file bug reports in all the different browsers - they seem intent on

[svg-developers] Re: SVGopen 2012 Conference Website is up

2012-02-23 Thread Andi Neumann
Hi Jerry, I followed your advice and added the additional fonts. Better now? I did not advertise this yet, since I need to fix something in the database to allow for abstract submissions. I will inform this list of course once it is fully available. I just wanted to make date, time and the CfP

Re: [svg-developers] Re: SVGopen 2012 Conference Website is up

2012-02-23 Thread JERROLD WARREN MADDOX
Andreas Yes, works well now. Much more order with the changes in weight. Jerry - Original Message - From: "Andi Neumann" To: svg-developers@yahoogroups.com Sent: Thursday, February 23, 2012 3:58:52 PM Subject: [svg-developers] Re: SVGopen 2012 Conference Website is up Hi Jerry,

[svg-developers] Re: access svg elements from HTML5

2012-02-23 Thread Diana
Hi Jake, Thanks for your response. I tried to post a reply last night, but I don't know it doesn't show. In my case, the svg is actually loaded, because it shows, and I push a button to execute the code to access the inside element of that svg. Also, the first line: var a = document.getElementById

[svg-developers] Re: access svg elements from HTML5

2012-02-23 Thread Diana
Hi Jake, Thanks for your reply. But the svg has already loaded, because it's displayed, and I push a button to execute the code that is trying to get it. Plus, this line: var a = document.getElementById("dialSvg"); works well, the result is a HTMLEmbedElement. I checked what is defined in th

Re: [svg-developers] Re: access svg elements from HTML5

2012-02-23 Thread Brian Birtles
(2012/02/23 14:26), Diana wrote: > Plus, this line: var a = document.getElementById("dialSvg"); > works well, the result is a HTMLEmbedElement. I checked what is defined > in this HTMLEmbedElement, there is no contentDocument defined, thus, the > following line: > > var svgDoc = a.contentDocument;

Re: [svg-developers] Re: access svg elements from HTML5

2012-02-23 Thread Brian Birtles
(2012/02/24 14:07), Brian Birtles wrote: > Hi Diana, > > I believe the HTMLEmbedElement interface does not include a > contentDocument property, unlike HTMLObjectElement (and > HTMLIFrameElement etc.). I think you want to use getSVGDocument.[1] > Jonathan Watt and Erik Dahlström have each helpfully