Testing HTML5 Capabilities with the canvas element