gecko-dev/dom/canvas/crashtests/789933-1.html

14 строки
277 B
HTML

<!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>