mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
92bd6665b1
This draws a unchanging part of the gradient on to another canvas. --HG-- extra : rebase_source : 57de827713cac43cf117da1d4dc95a29d0007987
12 lines
326 B
HTML
12 lines
326 B
HTML
<body bgcolor="orange">
|
|
<canvas width="300" height="300" id="testcase-canvas-dest"></canvas>
|
|
<script>
|
|
const kTransparent = "rgba(0%, 100%, 100%, 0.5)";
|
|
|
|
cx2 = document.getElementById('testcase-canvas-dest').getContext('2d');
|
|
cx2.fillStyle = kTransparent;
|
|
cx2.fillRect(0,0,100,20);
|
|
</script>
|
|
|
|
</window>
|