Search the web
Sign In
New User? Sign Up
svg-developers · SVG Developers
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Inline SVG and CSS in IE   Message List  
Reply | Forward Message #62502 of 63201 |
Re: [svg-developers] Inline SVG and CSS in IE

Can I get some test cases around this? I want to see if the SVG Web
toolkit we are building suffers from this, and to find workarounds if
necessary.

On Thu, Jul 2, 2009 at 6:36 AM, CPK Smithies<c.1@...> wrote:
>
>
> I have not attempted inline SVG with IE. However, I wanted to raise a
> related issue about multiple SVG objects in IE.
>
> My experience of including multiple SVG objects in an HTML page under
> IE7 is that the browser goes unstable if there are more than, say, 10
> such objects in the page, whether or not any SVG-rendering plugin is
> installed. This is not improved even by using script to convert the
> OBJECT tags into EMBED tags. My experience has been that page loading
> gets unpredictably very slow or stops altogether. (To repeat: I have
> observed this to happen even when no plugin is installed, and the
> browser is falling back correctly to the img elements contained within
> the object/embed tags).
>
> Although the ASV plugin works well for one or two included SVG objects,
> my experience is that IE just isn't stable enough to permit serving SVG
> instead of raster images for typical web-page confetti images. My tests
> have shown this problem to be no better under IE8 than IE7. I have
> therefore reluctantly had to massage my pages, when serving IE clients,
> to drop the object elements for SVG images and serve only the fall-back
> img tags.
>
> Unless others have found a cure for this instability, then I fear the
> only viable option for IE is to serve raster images using the IMG tag,
> or else to use XSLT sorcery to convert the SVG into VML as I believe
> Google are doing.
>
> Regards to all,
>
> Christopher Smithies
>
> -----Original Message-----
> From: svg-developers@yahoogroups.com
> [mailto:svg-developers@yahoogroups.com]On Behalf Of alexgreindl
> Sent: 01 July 2009 15:16
> To: svg-developers@yahoogroups.com
> Subject: [svg-developers] Inline SVG and CSS in IE
>
> Hi,
> I have to create a html file containing multiple svg objects.
> The html page should be displayed local on the pc using MS Internet
> Explorer 7.
>
>



Thu Jul 2, 2009 8:57 pm

bradneuberg
Offline Offline
Send Email Send Email

Forward
Message #62502 of 63201 |
Expand Messages Author Sort by Date

Hi, I have to create a html file containing multiple svg objects. The html page should be displayed local on the pc using MS Internet Explorer 7. I tried the...
alexgreindl
Offline Send Email
Jul 1, 2009
6:09 pm

I have not attempted inline SVG with IE. However, I wanted to raise a related issue about multiple SVG objects in IE. My experience of including multiple SVG...
CPK Smithies
cpk.smithies
Offline Send Email
Jul 2, 2009
1:36 pm

... Hi Christopher, I haven't had this problem. I haven't forced a test yet. but I've had 20-30 svg embeds in the past. Could you post a typical html segment...
Francis Hemsher
fhemsher
Offline Send Email
Jul 2, 2009
7:00 pm

Greetings, Francis. This is the sort of thing that I'd be using, e.g. for a button icon: <object type="image/svg+xml" width="20" height="20" ...
CPK Smithies
cpk.smithies
Offline Send Email
Jul 2, 2009
10:08 pm

Hi CPK, I would love to get this code as a test case for the SVG Web project to test real world usage. Can I grab it from you? I would have to adapt it a bit...
Bradley Neuberg
bradneuberg
Offline Send Email
Jul 2, 2009
10:53 pm

Hi Christopher, Three comments: IE is not happy unless the embed is sitting in the page at load,plus it tends to ingore a dynamic src, and also, in my...
Francis Hemsher
fhemsher
Offline Send Email
Jul 3, 2009
12:53 am

Hi Christopher, The script cannot work because it tries to remove children from obs while working with its length, which is live for getElementsByTagName. ...
Domenico Strazzullo
domenico_str...
Offline Send Email
Jul 4, 2009
11:59 am

... From: svg-developers@yahoogroups.com [mailto:svg-developers@yahoogroups.com]On Behalf Of Domenico Strazzullo Sent: 04 July 2009 12:59 ... obs while working...
CPK Smithies
cpk.smithies
Offline Send Email
Jul 4, 2009
12:31 pm

... True, I missed it. The script shouldn't work anyway because you can't append fallback content elements to <embed>. HTML 5 doesn't allow that either, if I...
Domenico Strazzullo
domenico_str...
Offline Send Email
Jul 4, 2009
4:15 pm

... content elements to <embed>. HTML 5 doesn't allow that either, if I read well. < Let us agree that the script would not work (or even exist) in an ideal ...
CPK Smithies
cpk.smithies
Offline Send Email
Jul 5, 2009
1:51 am

Results from http://smithies.org/cpks/test/ IE = v:8.0.6001.18783 IE64 = v:8.0.6001.18783 64-bit Edition Testing both versions on a 64-bit system. IE64 With...
Domenico Strazzullo
domenico_str...
Offline Send Email
Jul 6, 2009
8:37 am

Can I get some test cases around this? I want to see if the SVG Web toolkit we are building suffers from this, and to find workarounds if necessary....
Bradley Neuberg
bradneuberg
Offline Send Email
Jul 2, 2009
9:58 pm

Hi Alex, ... [...] ... [...] ... Yes, I haven't tested for sure but inline CSS should work. The problem here seems to be the CSS selector ("*"), which as far...
Helder Magalhães
heldermagalhaes
Offline Send Email
Jul 2, 2009
3:12 pm

Hi Helder, thanks for answer. I tried simpler CSS but it seems that IE ignors any CSS classes. Regards, Alex...
alexgreindl
Offline Send Email
Jul 4, 2009
2:15 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help