IE 8 Error: 'vml' is null or not an object

198 views
Skip to first unread message

cbobbett

unread,
Sep 1, 2010, 12:52:46 PM9/1/10
to Raphaël
Hi All,

When I use the compressed version of Raphael 1.5.2, IE6-8 throws an
error: 'vml' is null or not an object. I have not tested IE9.

Everything works as expected when I switch to the uncompressed version
of 1.5.2. Something appears to have happened in the compression
process.

Regards,

Chris

charles thomas

unread,
Sep 1, 2010, 7:42:25 PM9/1/10
to raph...@googlegroups.com
Chris
thats an interesting observation. I just discovered this in ie for 1.5.2
//Below does not work in IE
.attr({stroke:"red"});
//Below DOES work in IE
.attr({stroke:"#FF0000"});

The above applies to fills and gradients that make any reference to colours being spelt instead of using the hex/oct equivalent.
Charles

--- On Wed, 9/1/10, cbobbett <cbob...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "Raphaël" group.
To post to this group, send an email to raph...@googlegroups.com.
To unsubscribe from this group, send email to raphaeljs+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/raphaeljs?hl=en-GB.


Shakthi

unread,
Sep 2, 2010, 2:16:25 AM9/2/10
to Raphaël
Yes, it is I think a bug which got into 1.5.2 minified version, the
uncompressed version does not have it, I minified it on my own using
YUI and deployed it and it works fine.

cheers
Shakthi

On Sep 2, 4:42 am, charles thomas <charles...@yahoo.com> wrote:
> Chris
> thats an interesting observation. I just discovered this in ie for 1.5.2
> //Below does not work in IE
> .attr({stroke:"red"});
> //Below DOES work in IE
> .attr({stroke:"#FF0000"});
>
> The above applies to fills and gradients that make any reference to colours being spelt instead of using the hex/oct equivalent.
> Charles
>
> --- On Wed, 9/1/10, cbobbett <cbobb...@gmail.com> wrote:
>
> From: cbobbett <cbobb...@gmail.com>
> Subject: IE 8 Error: 'vml' is null or not an object
> To: "Raphaël" <raph...@googlegroups.com>
> Received: Wednesday, September 1, 2010, 9:52 AM
>
> Hi All,
>
> When I use the compressed version of Raphael 1.5.2, IE6-8 throws an
> error: 'vml' is null or not an object. I have not tested IE9.
>
> Everything works as expected when I switch to the uncompressed version
> of 1.5.2. Something appears to have happened in the compression
> process.
>
> Regards,
>
> Chris
>
> --
> You received this message because you are subscribed to the Google Groups "Raphaël" group.
> To post to this group, send an email to raph...@googlegroups.com.
> To unsubscribe from this group, send email to raphaeljs+...@googlegroups.com.

Rob DiCiuccio

unread,
Sep 2, 2010, 2:23:06 PM9/2/10
to Raphaël
I did the same, and things now seem to be working fine in IE.
Reply all
Reply to author
Forward
0 new messages