Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <html> | |
| 2 <body> | |
| 3 <canvas id="c1" width="300" height="300"></canvas> | |
| 4 <canvas id="c2" width="300" height="300"></canvas> | |
| 5 <script type="text/javascript"> | |
| 6 var ctx1 = document.getElementById('c1').getContext('2d'); | |
| 7 var ctx2 = document.getElementById('c2').getContext('2d'); | |
| 8 ctx1.fillStyle = 'green'; | |
| 9 ctx2.fillStyle = 'green'; | |
| 10 ctx1.fillRect(50, 50, 200, 200); | |
| 11 ctx2.fillRect(50, 50, 200, 200); | |
| 12 </script> | |
| 13 </body></html> | |
| OLD | NEW |