mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
22 lines
354 B
HTML
22 lines
354 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script>
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
var a = document.getElementById("a");
|
||
|
var b = document.getElementById("b");
|
||
|
a.getContext('2d').createPattern(b, 'no-repeat');
|
||
|
}
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
|
||
|
<body onload="boom();">
|
||
|
<canvas id="a" width="61" height="26"></canvas>
|
||
|
<canvas id="b" width="611" height="439807"></canvas>
|
||
|
</body>
|
||
|
|
||
|
</html>
|