title: Add style to elements inside HTML5 canvas
body: <p>I have the following code:</p>
  
  <pre><code>canvas = document.createElement('canvas')
  context = canvas.getContext('2d')
  canvas.width = window.innerWidth
  canvas.height = 100
  document.body.appendChild(canvas)
  
  image = new Image()
  image.src = 'http://units.wesnoth.org/1.5.10/pics/00006_flare.png'
  image.style.border = '1px solid black'
  
  document.body.appendChild(image)
  context.drawImage(image, 5, 5)
  </code></pre>
  
  <p>You can view it on jsfiddle <a href="http://jsfiddle.net/notalex/6d78t/" rel="nofollow">here</a>.</p>
  
  <p>The style does not apply for the image rendered inside the Canvas. How does one apply style to elements inside canvas?</p>