mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b77d06a80b
--HG-- extra : rebase_source : dcafd327c98d1da7076f06c86b23eb7d5dd1edcb
17 lines
506 B
HTML
17 lines
506 B
HTML
<!DOCTYPE HTML>
|
|
<html class="reftest-wait">
|
|
<body>
|
|
<canvas id="canvas" width="200" height="200"></canvas>
|
|
<script>
|
|
function draw() {
|
|
var video = document.getElementById("video");
|
|
var canvas = document.getElementById("canvas");
|
|
var ctx = canvas.getContext("2d");
|
|
ctx.drawImage(video, 0, 0, video.videoWidth, video.videoHeight);
|
|
document.documentElement.removeAttribute("class");
|
|
}
|
|
</script>
|
|
<video id="video" src="black140x100.ogv" onloadeddata="draw()" style="opacity:0"></video>
|
|
</body>
|
|
</html>
|