Mark Birbeck [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
But as you know, the SVG spec defines a large number of possible values to
test for with DOMImplementation, not just do you have SVG?. So ideally we
should be able to test for the language features we want, without using
Message-
From: svg-developers@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Ley
Sent: 02 August 2005 18:30
To: svg-developers@yahoogroups.com
Subject: [svg-developers] Re: Detect native SVG support
Mark Birbeck [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED
* Mark Birbeck wrote:
As to adding more and more hacks, no one doubts that you can keep adding
another line of script to test for yet another permutation. But as the world
of compound documents gets closer, don't you think that there needs to be a
generic solution that allows for testing not just
Jonathan,
... and Mozilla happily returns true for both tests.
That's excellent news. I hadn't tried it, but that's good to hear.
We've also (almost) got the same thing working in our Sidewinder Viewer, so
hopefully this can become a general test that will indicate that you can
simply send
Jonathan Watt schrieb:
I'm told that we are doing the right thing, and that not render
doesn't mean not parse. Alternative content should still appear in
the DOM as usual, and any img elements should have their content
loaded. Hence the onload should fire. It seems a bit counter to what
--- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote:
You're quite right of course. This would be the *real* way to do it,
and Mozilla happily returns true for both tests.
But Mozilla gives true whether the preference svg.enabled is true or
not so currently the check
First off, I've noticed that my suggested script doesn't work in IE6
since it doesn't seem to implement createElementNS. To prevent a
script error I'll revise my script to:
var hasNativeSVG = false;
try {
if (document.createElementNS('http://www.w3.org/2000/svg','svg').width)
hasNativeSVG =
Holger Will schrieb:
Jonathan Watt schrieb:
First off, I've noticed that my suggested script doesn't work in IE6
since it doesn't seem to implement createElementNS. To prevent a
script error I'll revise my script to:
var hasNativeSVG = false;
try {
if
processor from
http://www.formsPlayer.com/
-Original Message-
From: svg-developers@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Holger Will
Sent: 28 July 2005 19:38
To: svg-developers@yahoogroups.com
Subject: Re: [svg-developers] Re: Detect native SVG support
Holger
Hi Mark,
You're quite right of course. This would be the *real* way to do it,
and Mozilla happily returns true for both tests. Opera doesn't support
scripting of SVG (yet) I believe, so the test won't work for it, but
as far as *script* testing goes this is definately the way to do it.
Thanks!
I'm told that we are doing the right thing, and that not render
doesn't mean not parse. Alternative content should still appear in
the DOM as usual, and any img elements should have their content
loaded. Hence the onload should fire. It seems a bit counter to what
you'd expect, but there you go.
Hi,
Sounds as a solution. But Mozilla is trying to implement zoom and pan
things so a viewbox will appear in future I think.
It is not that easy to determine.
John
--- In svg-developers@yahoogroups.com, Jonathan Watt [EMAIL PROTECTED] wrote:
Perhaps something like
var hasNativeSVG =
Hi John,
Mozilla has supported the 'viewBox' property for a long time, but
let's forget about that. It would actually be better to use a property
that will almost certainly be implemented - the 'width' property seems
like a good candidate. So you would use:
var hasNativeSVG =
--- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] wrote:
jophof007 schrieb:
Does anyone has a solution on detecting native svg support. Deer park
Alpha 2 supports native svg. How can a client javascript detect that
deerpark alpha 2 is running or how can a client
Martin Honnen schrieb:
--- In svg-developers@yahoogroups.com, Holger Will [EMAIL PROTECTED] wrote:
jophof007 schrieb:
Does anyone has a solution on detecting native svg support. Deer park
Alpha 2 supports native svg. How can a client javascript detect that
deerpark alpha 2 is
15 matches
Mail list logo