mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bdbd101143
--HG-- extra : transplant_source : r%1A%7D%10%C08%3D%17f%C5%8E%16t%97b%13%AF%12%019
15 lines
291 B
HTML
15 lines
291 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<canvas id="canvas"></canvas>
|
|
<script>
|
|
var c = canvas.getContext('2d');
|
|
c.font = "8pt sans-serif";
|
|
c.textAlign = "center";
|
|
c.textBaseline = "middle";
|
|
c.fillStyle = "white";
|
|
c.fillText("Test Text", canvas.width / 2, canvas.height / 2);
|
|
</script>
|
|
</body>
|
|
</html>
|