mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
25 lines
557 B
HTML
25 lines
557 B
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
|
|
<style>
|
|
body,html { width: 100%; height: 100%; padding: 0; }
|
|
div {
|
|
position: absolute;
|
|
left: 300px;
|
|
top: 300px;
|
|
-moz-transform: scale(4);
|
|
border: 1px solid #888;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>Hello<canvas width="1" height="1" id="c" style="display:block"></canvas></div>
|
|
<script>
|
|
var c = document.getElementById("c");
|
|
var ctx = c.getContext("2d");
|
|
ctx.fillStyle = "white";
|
|
ctx.fillRect(0, 0, 1, 1);
|
|
</script>
|
|
|
|
</body></html>
|