mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
25 lines
580 B
HTML
25 lines
580 B
HTML
<html xmlns="http://www.w3.org/1999/xhtml"
|
|
class="reftest-wait">
|
|
<head>
|
|
<script>
|
|
function doDraw() {
|
|
var ctx = document.getElementById('canvas').getContext('2d');
|
|
|
|
var radgrad = ctx.createRadialGradient(45,45,10,52,50,30);
|
|
radgrad.addColorStop(0, '#A7D30C');
|
|
radgrad.addColorStop(0.9, '#019F62');
|
|
radgrad.addColorStop(1, 'rgba(1,159,98,0)');
|
|
|
|
ctx.fillStyle = radgrad;
|
|
ctx.fillRect(0,0,150,150);
|
|
|
|
document.documentElement.removeAttribute('class');
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="doDraw();">
|
|
<canvas id="canvas" width="300" height="300"/>
|
|
</body>
|
|
</html>
|
|
|