* 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 ju
Jim,
Sidewinder wouldn't be conformant or non-conformant. We just pass a call to
the methods on a DOMImplementation to the implementations that we've
instantiated to create that implementation. In the case of an object that
'supports' SVG it would most likely be ASV (although it would depend on th
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 elements should have their content
> loaded. Hence the onload should fire. It seems a bit counter to what
>
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 XHT
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 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 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!
Jo
om/
b: http://internet-apps.blogspot.com/
Download our XForms 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@yahoogr
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
> > (documen
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
> (document.createElementNS('http://www.w3.org/200
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 =
Jonathan Watt schrieb:
> 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:
>
> v
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 =
document.createEleme
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
> > > deerp
13 matches
Mail list logo