gecko/content/canvas/crashtests/789933-1.html

14 lines
277 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<body>
<canvas id="c" width="5000" height="20000">
</canvas>
<script>
var ctxt = document.getElementById('c').getContext('2d');
ctxt.strokeStyle = "Red";
ctxt.font = "bold 16px Arial";
ctxt.strokeText('Hello World!', 100, 100);
</script>
</body>
</html>