<!DOCTYPE HTML> <html reftest-zoom="2.0"> <body style="background: black"> <canvas width="100" height="100" id="c"></canvas> <script type="text/javascript"> var cx = document.getElementById("c").getContext("2d"); cx.fillStyle = "#00ff00"; cx.fillRect(0, 0, 100, 100); </script> </body> </html>