mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fd02ebad7e
--HG-- extra : rebase_source : f22329337aa120573efc13fa6ac0bb111ff0dba2
15 lines
313 B
HTML
15 lines
313 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<body>
|
|
<canvas moz-opaque id="c" width="500" height="500"></canvas>
|
|
<script>
|
|
var ctx = c.getContext('2d');
|
|
ctx.fillStyle = "white";
|
|
ctx.fillRect(0, 0, 500, 500);
|
|
ctx.fillStyle = "black";
|
|
ctx.font = "50px sans-serif";
|
|
ctx.fillText("Hello", 200, 200);
|
|
</script>
|
|
</body>
|
|
</html>
|