title: How does the triggering of mousemove work in Javascript?
body: <p>I have an object that prints the mouse's x and y positions on every mousemove.</p>
  
  <p>It's something like this:</p>
  
  <pre><code>$('#canvas').mousemove(function(e){
      $('#output').prepend(e.pageX + ',' + e.pageY);
  });
  </code></pre>
  
  <p>I've noticed that when you move over the object really fast it only prints out a few positions.</p>
  
  <p>I'm not exactly unhappy that it does that (because it would be quite exhaustive to have it do something for all the hundreds of pixels you've crossed) but I am wondering how this works.</p>
  
  <p>Is the mousemove event limited to a certain amount of triggers per second or what?</p>
  
  <p>(Btw: this was tested on Chromium in Ubuntu Linux)</p>