1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11

android_webview / test / data / green_canvas.html [blame]

<html>
  <body>
    <canvas id="canvas" width="500" height="500"></canvas>
    <script>
      const canvas = document.getElementById('canvas');
      const ctx = canvas.getContext('2d');
      ctx.fillStyle = 'rgb(0, 255, 0)';
      ctx.fillRect(0, 0, 500, 500);
    </script>
  </body>
</html>