Revision 132810 of SVG in Firefox

  • Revision slug: Talk:SVG_in_Firefox
  • Revision title: SVG in Firefox
  • Revision id: 132810
  • Created:
  • Creator: Doriantaylor
  • Is current revision? No
  • Comment /* DOM interface to <use> element */

Revision Content

Can we get an example of what HTML to use to embed the SVG object into your HTML page? I'm currently dissatisfied with

<object data="circuits.svg" width=800 height=500>

because I have not figured out how to have a shrunken version of a .SVG file. Clearly there are other parameters to the <object> tag I need to understand to get rid of those silly scroll bars.

text-decoration

Hi.

What's about text-decoration? I tried something like

<text x="20" y="200" fill="blue" text-decoration="underline">some text</text>

and it didn't work.

Regards -- Manuel (Diskussion) 03:49, 9 June 2006 (PDT)

Old versions

It would be useful to have some kind of indication of what is supported in older versions of gecko & which browsers use which version. For instance, if I wanted to write an application targetting Firefox 1.5, what can I do / can't I do?

DOM interface to <use> element

I observed (FF2.0/macosx) that instances of SVGUseElement don't have instanceRoot or animatedInstanceRoot properties - that is that the properties aren't present (in Venkman or DOM inspector), not that the properties are null. The closest existing bug I found was {{ Bug("265895") }}, but that isn't quite the same. The SVG spec has an example that exhibits the behaviour.

Dorian Taylor

Revision Source

<p>Can we get an example of what HTML to use to embed the SVG object into your HTML page? I'm currently dissatisfied with
</p><p>&lt;object data="circuits.svg" width=800 height=500&gt;
</p><p>because I have not figured out how to have a shrunken version of a .SVG file. Clearly there are other parameters to the &lt;object&gt; tag I need to understand to get rid of those silly scroll bars.
</p>
<h3 name="text-decoration">text-decoration</h3>
<p>Hi.
</p><p>What's about text-decoration? I tried something like
</p>
<pre class="eval">&lt;text x="20" y="200" fill="blue" text-decoration="underline"&gt;some text&lt;/text&gt;
</pre>
<p>and it didn't work.
</p><p>Regards -- <a href="User:Manuel_Strehl">Manuel</a> <a href="en/Benutzer_Diskussion/Manuel_Strehl">(Diskussion)</a> 03:49, 9 June 2006 (PDT)
</p>
<h3 name="Old_versions">Old versions</h3>
<p>It would be useful to have some kind of indication of what is supported in older versions of gecko &amp; which browsers use which version. For instance, if I wanted to write an application targetting Firefox 1.5, what can I do / can't I do?
</p>
<h3 name="DOM_interface_to_.3Cuse.3E_element">DOM interface to &lt;use&gt; element</h3>
<p>I observed (FF2.0/macosx) that instances of SVGUseElement don't have instanceRoot or animatedInstanceRoot properties - that is that the properties aren't present (in Venkman or DOM inspector), not that the properties are null. The closest existing bug I found was {{ Bug("265895") }}, but that isn't quite the same. <a class="external" href="http://www.w3.org/TR/SVG/images/struct/Use01.svg">The SVG spec</a> has an example that exhibits the behaviour.
</p><p><a href="User:Doriantaylor">Dorian Taylor</a>
</p>
Revert to this revision