Add back canvas.html test page to tests subdir.

This commit is contained in:
Joel Martin 2010-05-16 19:23:44 -05:00
parent af180155a8
commit b92e282ad7
1 changed files with 28 additions and 0 deletions

28
tests/canvas.html Normal file
View File

@ -0,0 +1,28 @@
<html>
<head><title>Canvas Experiments</title></head>
<body>
Canvas:<br>
<canvas id="tutorial" width="640" height="480"
style="border-style: dotted; border-width: 1px;">
Canvas not supported.
</canvas>
</body>
<!--
<script type='text/javascript'
src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>
-->
<script src="../include/mootools.js"></script>
<script src="../include/util.js"></script>
<script src="../include/canvas.js"></script>
<script>
window.onload = function() {
console.log("here1");
Canvas.init('tutorial', 640, 480);
Canvas.draw();
console.log("here2");
}
</script>
</html>