diff options
author | onnoj <me@onnoj.net> | 2013-12-23 12:15:09 +0100 |
---|---|---|
committer | onnoj <me@onnoj.net> | 2013-12-23 12:15:09 +0100 |
commit | a0e9770d4de49de26fbbe70927a35e479f091a8b (patch) | |
tree | 4bcf3e1a38f251c111aa5710781f6ef5016f4965 /tests/browser_main.cpp | |
parent | 8825277bf323c15f8354e0429af85868b919cf9a (diff) |
Added workaround for window.scrollX compat.
window.scrollX/Y is not available in IE11. As far as specifications go, is currently only specified in draft (http://dev.w3.org/csswg/cssom-view/#refsCSSOM). Falling back to
window.pageXOffset seems like a good workaround.
On a related note; my Emscriptified project runs on IE11 although performance is very poor (mostly due to Internet Explorer itself, I think). It's pretty finicky about the shaders, as they introduced an extra set of requirements. (inout/in/out keywords not supported, can't construct mat3 from mat4, etc).
Diffstat (limited to 'tests/browser_main.cpp')
0 files changed, 0 insertions, 0 deletions