{"action":"created","issue":{"url":"https://api.github.com/repos/niklasvh/html2canvas/issues/274","labels_url":"https://api.github.com/repos/niklasvh/html2canvas/issues/274/labels{/name}","comments_url":"https://api.github.com/repos/niklasvh/html2canvas/issues/274/comments","events_url":"https://api.github.com/repos/niklasvh/html2canvas/issues/274/events","html_url":"https://github.com/niklasvh/html2canvas/issues/274","id":20202308,"number":274,"title":"Internet Explorer 10 compatibility","user":{"login":"panthar1","id":289302,"avatar_url":"https://avatars.githubusercontent.com/u/289302?v=3","gravatar_id":"","url":"https://api.github.com/users/panthar1","html_url":"https://github.com/panthar1","followers_url":"https://api.github.com/users/panthar1/followers","following_url":"https://api.github.com/users/panthar1/following{/other_user}","gists_url":"https://api.github.com/users/panthar1/gists{/gist_id}","starred_url":"https://api.github.com/users/panthar1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panthar1/subscriptions","organizations_url":"https://api.github.com/users/panthar1/orgs","repos_url":"https://api.github.com/users/panthar1/repos","events_url":"https://api.github.com/users/panthar1/events{/privacy}","received_events_url":"https://api.github.com/users/panthar1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/niklasvh/html2canvas/labels/Internet+Explorer+10","name":"Internet Explorer 10","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2013-09-28T00:25:59Z","updated_at":"2015-01-20T12:00:21Z","closed_at":null,"body":"Hi,\r\n\r\nWe have been trying to get html2canvas to work in IE10, but I imagine this will also apply to IE9.\r\n\r\nHere is what I did (without success):\r\n\r\nSCRIPT438: Object doesn't support property or method 'getComputedStyle' \r\nhtml2canvas.js, line 2399 character 5\r\n\r\nSo upon further research, this method does not seem to be implemented in IE10, as the only explanation for that error (despite documentaiton saying otherwise). So I found some code from http://www.snipplr.com/view/13523/ which implements the getComputedSyle() if it's not defined in IE10. This works.\r\n\r\nHowever, using that function just creates another issue:\r\n\r\nhtml2canvas.js, line 2401 character 5\r\nSCRIPT5007: Unable to get property 'substr' of undefined or null reference \r\n\r\nThis error, is most likely caused by the function on http://www.snipplr.com/view/13523/ not returning what html2canvas expects?\r\n\r\nAnyhow, I am looking for a solution here. I would imagine it's just a wrong implementation of getComputedStyle that's not returning the data html2canvas needs, or is there some other trick to getting html2canvas to work with IE10?\r\n\r\nThere might be other errors, but this is the main issue I have found so far with IE10.\r\n\r\nAny help in solving this problem would be much appreciated!\r\n\r\nThanks!\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/niklasvh/html2canvas/issues/comments/70643462","html_url":"https://github.com/niklasvh/html2canvas/issues/274#issuecomment-70643462","issue_url":"https://api.github.com/repos/niklasvh/html2canvas/issues/274","id":70643462,"user":{"login":"usmonster","id":1373334,"avatar_url":"https://avatars.githubusercontent.com/u/1373334?v=3","gravatar_id":"","url":"https://api.github.com/users/usmonster","html_url":"https://github.com/usmonster","followers_url":"https://api.github.com/users/usmonster/followers","following_url":"https://api.github.com/users/usmonster/following{/other_user}","gists_url":"https://api.github.com/users/usmonster/gists{/gist_id}","starred_url":"https://api.github.com/users/usmonster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usmonster/subscriptions","organizations_url":"https://api.github.com/users/usmonster/orgs","repos_url":"https://api.github.com/users/usmonster/repos","events_url":"https://api.github.com/users/usmonster/events{/privacy}","received_events_url":"https://api.github.com/users/usmonster/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T12:00:21Z","updated_at":"2015-01-20T12:00:21Z","body":"Again, please try the current version on master. More issues have been fixed with #503.\r\n\r\nAlso, @lexxinco, the quote from caniuse.com doesn't apply to any of the supported browsers."}}