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

Side by Side Diff: content/test/data/gpu/pixel_offscreenCanvas_webgl_commit_main.html

Issue 2774423006: Shrink the reference image dimension in OffscreenCanvas tests (Closed)
Patch Set: update reference count Created 3 years, 8 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
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 2
3 <!-- READ BEFORE UPDATING: 3 <!-- READ BEFORE UPDATING:
4 If this test is updated make sure to increment the "revision" value of the 4 If this test is updated make sure to increment the "revision" value of the
5 associated test in content/test/gpu/gpu_tests/pixel_test_pages.py. This will ens ure 5 associated test in content/test/gpu/gpu_tests/pixel_test_pages.py. This will ens ure
6 that the baseline images are regenerated on the next run. 6 that the baseline images are regenerated on the next run.
7 --> 7 -->
8 8
9 <html> 9 <html>
10 <head> 10 <head>
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 domAutomationController.send("SUCCESS"); 120 domAutomationController.send("SUCCESS");
121 } else { 121 } else {
122 g_swapsBeforeAck--; 122 g_swapsBeforeAck--;
123 document.getElementById('container').style.zIndex = g_swapsBeforeAck + 1; 123 document.getElementById('container').style.zIndex = g_swapsBeforeAck + 1;
124 requestAnimationFrame(waitForFinish); 124 requestAnimationFrame(waitForFinish);
125 } 125 }
126 } 126 }
127 </script> 127 </script>
128 </head> 128 </head>
129 <body onload="main()"> 129 <body onload="main()">
130 <div style="position:relative; width:700px; height:300px; background-color:white "> 130 <div style="position:relative; width:400px; height:200px; background-color:white ">
131 </div> 131 </div>
132 <div id="container" style="position:absolute; top:0px; left:0px"> 132 <div id="container" style="position:absolute; top:0px; left:0px">
133 <canvas id="canvas1" width="300" height="300" class="nomargin"></canvas> 133 <canvas id="canvas1" width="200" height="200" class="nomargin"></canvas>
134 <canvas id="canvas2" width="300" height="300" class="nomargin"></canvas> 134 <canvas id="canvas2" width="200" height="200" class="nomargin"></canvas>
135 </div> 135 </div>
136 </body> 136 </body>
137 </html> 137 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698