Doesn't work in Internet Explorer [All versions] #7

krisrogers opened this Issue Dec 20, 2012 · 6 comments


None yet

2 participants


As far as I can tell IE9+ should support the features needed to layout the word cloud. Unfortunately though it does not work out of the gates.

I have spent some time trying to figure out why, but haven't managed to get it working properly. The problem seems to be related to the getImageData method on the canvas. My tests revealed that in IE9 it was consistently returning all zero values even after the fillText method had been called.

Any ideas?

@jasondavies jasondavies added a commit that closed this issue Dec 20, 2012
@jasondavies Add DOCTYPE for IE9.
This is required to ensure IE9 runs in "standards mode".

Fixes #7.

You should make sure IE9 is running in standards mode, e.g. by setting a DOCTYPE. I’ve fixed the example so it does this, and I’ve tested this in IE9.

This doesn't seem to fix the problem for me. Have you tried the Twitter example at in IE9? The docset declaration is there and IE9 defaults to standards mode but only a single word appears.


Yes, and it worked okay for me. What is the exact version of IE9 that you’re testing, and OS? I saw references to a bug limiting the number of pixels for getImageData to 8192 in IE9, so perhaps this is affecting it.

Turns out that it only doesn't work when running Windows 7 with Parallels. When booting directly into Windows it works fine. Weird.


Perhaps it’s an outdated version of IE9 with the getImageData bug?

It is a single installation of Windows 7 + IE9 that works fine natively but is broken when virtualised. Possibly some strange anomaly in Win API when virtualised. I am just going to ignore it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment