WebGL 2: updated passing test expectations for deqp/primitiverestart
[WebKit-https.git] / LayoutTests / webgl / webgl-border.html
1 <head>
2     <meta name="viewport" content="width=device-width">
3     <style>
4
5     canvas {
6         width: 100px;
7         height: 100px;
8         background-color: red;
9         border: 20px solid blue;
10     }
11
12     </style>
13 </head>
14 <canvas>
15 <script type="text/javascript">
16
17     var canvas = document.querySelector("canvas");
18     canvas.width = canvas.clientWidth * window.devicePixelRatio;
19     canvas.height = canvas.clientHeight * window.devicePixelRatio;
20
21     var gl = canvas.getContext("webgl");
22     gl.clearColor(0, 0, 0, 1);
23     gl.clear(gl.COLOR_BUFFER_BIT);
24
25 </script>
26 </canvas>