pingjiang / cakejs

Automatically exported from code.google.com/p/cakejs
0 stars 0 forks source link

IE9 Works with certain pages that contain iframe source pages. #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If I use IE9 to view any of your demos, including every demo on this page: 
http://glimr.rubyforge.org/cake/canvas.html#Paint, it works just fine.

For instance this page http://webdemos.sourceforge.net/CAKE/cake5.html
works great too.

However, if I strictly load the page that's in the iframe on that page, IE9 
will no longer render the canvas.  Iframe page: 
http://webdemos.sourceforge.net/CAKE/CAKE5/cake.html

On the iframe page IE gives the error "Element" is undefined on line 151 of 
cake.js.

It will do this for all your standalone pages that are included in the iframes 
if I just visit them directly.  However, if they're part of the iframe in the 
shell of that site, no errors, and works perfectly.

So what is it about the content outside the iframe that's causing IE9 not to 
think there's an error and then to also fully render the canvas?

Original issue reported on code.google.com by AdamRBra...@gmail.com on 26 Oct 2011 at 12:26

GoogleCodeExporter commented 9 years ago
might be cross-domain issues. Will have to check once I get a windows machine 
up.

Original comment by crgod...@gmail.com on 6 Feb 2012 at 4:22