Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(145)

Side by Side Diff: third_party/webgl/sdk/tests/extra/offscreen-issue.html

Issue 9373009: Check in webgl conformance tests r16844 from khronos. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <script type="text/javascript">
6
7 window.onload = function() {
8 setup("1");
9 setup("2");
10 }
11
12 function setup(id) {
13 var c = document.getElementById(id);
14 var gl = c.getContext("experimental-webgl");
15 gl.clearColor(1,0,0,1);
16 gl.clear(gl.COLOR_BUFFER_BIT);
17 setTimeout(function() {
18 gl.enable(gl.SCISSOR_TEST);
19 gl.scissor(0,0,50,50);
20 gl.clearColor(0,1,0,1);
21 gl.clear(gl.COLOR_BUFFER_BIT);
22 }, 500);
23 }
24 </script>
25 </head>
26 <body>
27 <canvas id="1"></canvas>
28 <div style="height:4000px;">content that is tall like several articles</div>
29 <canvas id="2"></canvas>
30 </body>
31 </html>
32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698