1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
content / test / data / gpu / pixel_webgl_noaa_noalpha.html [blame]
<!DOCTYPE HTML>
<html>
<head>
<title>WebGL Test: Green Triangle over Black Background</title>
<style type="text/css">
.nomargin {
margin: 0px auto;
}
</style>
<script src="pixel_webgl_util.js"></script>
<script>
var main = makeMain(false, false);
</script>
</head>
<body onload="main()">
<div style="position:relative; width:200px; height:200px; background-color:black"></div>
<div style="position:absolute; top:0px; left:0px">
<canvas id="c" width="200" height="200" class="nomargin"></canvas>
</div>
</body>
</html>