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

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

Issue 1679593002: Reenable and strengthen screenshot_sync test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 4 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Synchronized screenshot test with divs</title>
5 <style>
6 html, body { margin: 0; }
7 </style>
8 </head>
9 <body>
10 <div id="backgrounddiv" style="position: absolute; left; 0px; top: 0px; width: 256px; height: 256px; will-change: transform; background-color: rgb(0, 255, 0); ">.</div>
11 <div id="testdiv" style="position: absolute; left; 0px; top: 0px; width: 192px ; height: 192px; will-change: transform; background-color: rgb(255, 0, 0);">.</d iv>
vmiura 2016/02/06 02:44:37 Please inset inner div so it does not also start a
Ken Russell (switch to Gerrit) 2016/02/06 02:45:15 Done.
12
13 <script>
14 function draw(r, g, b) {
15 document.getElementById('testdiv').style.background =
16 'rgb(' + r + ', ' + g + ', ' + b + ')';
17 document.getElementById('backgrounddiv').style.background =
18 'rgb(' + r + ', ' + g + ', ' + b + ')';
19 }
20 </script>
21 </body>
22 </html>
OLDNEW
« no previous file with comments | « content/test/data/gpu/screenshot_sync_canvas.html ('k') | content/test/gpu/gpu_tests/screenshot_sync.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698