  Mouse Capture for Canvas  From: Brandon Andrews
<warcraftthreeft@sbcglobal.net> Date: Tue, 8 Feb 2011 11:00:36
-0800 (PST) Message-ID:
<675066.90602.qm@web83813.mail.sp1.yahoo.com> To: public-
webapps@w3.org The main idea is here in bugzilla:  I'll post it
here though since Doug said this might get more people to see
it.  The idea would be to allow the browser to capture, as in
lock the mouse to a  certain DOM region such as a canvas tag.
Thinking back on this I realized a few  things were missing from
the initial idea so I'll explain the whole concept in  more
detail.  The MouseEvent would need two new members: Which in the
mousemove event would be set to the change in the mouse
position. So if you move your mouse left 5 pixels deltaX would
be set to -5 and if you  moved the mouse up 5 pixels deltaY
would be set to -5.  To keep this as simple as possible a
developer would create a <canvas> tag on  their web page then
add a mousecapture, mousemove, mouseup, and mousedown event  to
it. The new mousecapture ev