title: HTML5 canvas height and width 100% distorts the game animation
body: <p>I am not sure, how i can be more specific, but i am putting my best effort to explain it.I am trying to understand, what should i be looking for to be more specific, so this is all i have got at this moment.</p>
  
  <p>I was exploring HTML5 JavaScript games, and I noticed, that making the canvas height and width 100% distorts the animation within.
  <a href="http://www.dougmcinnes.com/html-5-asteroids/" rel="nofollow">a simple example</a> that i got from <a href="https://github.com/leereilly/games" rel="nofollow">here</a>.
  If i change the canvas size to 100% (in the example I have provided) it breaks the animation of the game(for example the asteroid).</p>
  
  <p>I would like to know, which property of HTML5 is responsible for this behaviour and what should I be looking for to get the HTML5 animation fit the complete screen size?</p>
  
  <p><strong>EDIT</strong>
  <br/>
  I tried to run cordova to build the game to native platform,but the 1st problem i am encountering is that the canvas was not fitting the screen size. (that's why i wanted it to completely fit the browser screen, but i see a complete misfit when a canvas made for the browser screen is rendered to the native using cordova).
  <br/>I explored phaser, about how they are solving this problem, and <a href="https://github.com/fariazz/virtual-pet-phaser-cordova" rel="nofollow">found this game</a> which is using something called a <a href="http://phaser.io/docs/2.4.4/Phaser.ScaleManager.html" rel="nofollow">ScalingManager</a>.
  <br/>So, my questions are
  <br/>1. What is scaling a Game?
  <br/>2. How is the scaling-manager of phaser working
  <br/>3. without using the scaling manager why will a game not fit the moile screen size even though the canvas height and width are properly mentioned?
  <br/>4. is there a small experment (without using any phaser or similar javascript game framework) that i can do to understand the need for scaling with simple HTML5 javasctipt and cordova?</p>