[QUOTE=Ashley] It's not necessary for RTS games, you can do infinite scroll just by detecting the mouse at the edge of the window. I'm not sure it's useful outside of 3D games, so I hadn't planned to support it.[/QUOTE]
@Ashley Ah ok, then it's optional for future version, it would be nice to make new kind of game mechanics like rotating, zoom canvas without leaving the pointer outside of window.
There a 2D example:http://www.smartjava.org/examples/pointerlock/
click window on right and say Ok to pointer lock permission, you can move your mouse to anywhere to make it infinite scroll, otherwise the left window is limited due to pointer position.
@Kyatric there a example above, some nice information about Pointer Lock API http://www.html5rocks.com/en/tutorials/pointerlock/intro/Joannesalfa2012-12-21 01:05:50